Exception: Ro::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ro/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(message, context = nil) ⇒ Error

Returns a new instance of Error.



3
4
5
6
# File 'lib/ro/error.rb', line 3

def initialize(message, context = nil)
  super(message)
  @context = context
end