Exception: Railgun::InternalError
- Defined in:
- lib/railgun/errors.rb
Instance Attribute Summary collapse
-
#source_exception ⇒ Object
readonly
Returns the value of attribute source_exception.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(source_exc, message = nil, object = nil) ⇒ InternalError
constructor
A new instance of InternalError.
Constructor Details
#initialize(source_exc, message = nil, object = nil) ⇒ InternalError
Returns a new instance of InternalError.
21 22 23 24 25 |
# File 'lib/railgun/errors.rb', line 21 def initialize(source_exc, = nil, object = nil) super(, object) @source_exception = source_exc end |
Instance Attribute Details
#source_exception ⇒ Object (readonly)
Returns the value of attribute source_exception
19 20 21 |
# File 'lib/railgun/errors.rb', line 19 def source_exception @source_exception end |