Exception: Tumugi::TumugiError
- Inherits:
-
StandardError
- Object
- StandardError
- Tumugi::TumugiError
- Defined in:
- lib/tumugi/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(message = nil, reason = nil) ⇒ TumugiError
constructor
A new instance of TumugiError.
Constructor Details
#initialize(message = nil, reason = nil) ⇒ TumugiError
Returns a new instance of TumugiError.
5 6 7 8 |
# File 'lib/tumugi/error.rb', line 5 def initialize(=nil, reason=nil) super() @reason = reason end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
3 4 5 |
# File 'lib/tumugi/error.rb', line 3 def reason @reason end |