Exception: Railgun::InternalError

Inherits:
Error
  • Object
show all
Defined in:
lib/railgun/errors.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#object

Instance Method Summary collapse

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, message = nil, object = nil)
  super(message, object)

  @source_exception = source_exc
end

Instance Attribute Details

#source_exceptionObject (readonly)

Returns the value of attribute source_exception


19
20
21
# File 'lib/railgun/errors.rb', line 19

def source_exception
  @source_exception
end