Exception: OroError

Inherits:
Exception
  • Object
show all
Defined in:
lib/oro/errors.rb

Overview

Oro error classes

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ OroError

Returns a new instance of OroError.



3
4
5
# File 'lib/oro/errors.rb', line 3

def initialize(msg)
  @msg = msg
end

Instance Method Details

#messageObject



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

def message
  "Error: #{@msg}"
end