Class: ClearLogic::CatchedError

Inherits:
Object
  • Object
show all
Defined in:
lib/clear_logic/errors/catched_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ CatchedError

Returns a new instance of CatchedError.



7
8
9
# File 'lib/clear_logic/errors/catched_error.rb', line 7

def initialize(error)
  @error = error
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



5
6
7
# File 'lib/clear_logic/errors/catched_error.rb', line 5

def error
  @error
end