Exception: Ordrin::Errors::OrdrinError
- Inherits:
-
Exception
- Object
- Exception
- Ordrin::Errors::OrdrinError
- Defined in:
- lib/ordrin/errors.rb
Overview
This is the base class for errors specific to this ordrin package
Direct Known Subclasses
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ OrdrinError
constructor
A new instance of OrdrinError.
Constructor Details
#initialize(msg = nil) ⇒ OrdrinError
Returns a new instance of OrdrinError.
7 8 9 |
# File 'lib/ordrin/errors.rb', line 7 def initialize(msg=nil) @msg = msg end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
5 6 7 |
# File 'lib/ordrin/errors.rb', line 5 def msg @msg end |