Exception: Shirtsio::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Shirtsio::Error
- Defined in:
- lib/shirtsio/error.rb
Overview
Custom error class for rescuing from all known shirts.io errors
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
3 4 5 |
# File 'lib/shirtsio/error.rb', line 3 def error @error end |
#result ⇒ Object
Returns the value of attribute result.
3 4 5 |
# File 'lib/shirtsio/error.rb', line 3 def result @result end |