Exception: Schet::SchetError
- Inherits:
-
StandardError
- Object
- StandardError
- Schet::SchetError
- Defined in:
- lib/schet.rb
Direct Known Subclasses
General, InformSchet, NotFound, RateLimitExceeded, Unauthorized, Unavailable
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ SchetError
constructor
A new instance of SchetError.
Constructor Details
#initialize(data) ⇒ SchetError
Returns a new instance of SchetError.
14 15 16 17 |
# File 'lib/schet.rb', line 14 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
12 13 14 |
# File 'lib/schet.rb', line 12 def data @data end |