Method: Rea::Error#initialize

Defined in:
lib/rea/errors.rb

#initialize(msg, cause = $!) ⇒ Error

Returns a new instance of Error.



5
6
7
8
# File 'lib/rea/errors.rb', line 5

def initialize(msg, cause = $!)
  super(msg)
  @cause = cause
end