Exception: OroError
- Inherits:
-
Exception
- Object
- Exception
- OroError
- Defined in:
- lib/oro/errors.rb
Overview
Oro error classes
Direct Known Subclasses
ListIsNonContiguousError, MatchlessLengthWordError, NoMatchingListError, PartInstantiationError
Instance Method Summary collapse
-
#initialize(msg) ⇒ OroError
constructor
A new instance of OroError.
- #message ⇒ Object
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
#message ⇒ Object
7 8 9 |
# File 'lib/oro/errors.rb', line 7 def "Error: #{@msg}" end |