Exception: Lorj::PrcError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/lorj.rb

Overview

Internal PrcError class object derived from RuntimeError. Internally used with raise. Used to identify the error origin, while an error is thrown.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ PrcError

Returns a new instance of PrcError.



87
88
89
# File 'lib/lorj.rb', line 87

def initialize(message = nil)
  @lorj_message = message
end

Instance Attribute Details

#lorj_messageObject (readonly)

Returns the value of attribute lorj_message.



85
86
87
# File 'lib/lorj.rb', line 85

def lorj_message
  @lorj_message
end