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



89
90
91
# File 'lib/lorj.rb', line 89

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

Instance Attribute Details

#lorj_messageObject (readonly)

Returns the value of attribute lorj_message.



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

def lorj_message
  @lorj_message
end