Exception: DearInventory::Error
- Inherits:
-
StandardError
- Object
- StandardError
- DearInventory::Error
- Extended by:
- T::Sig
- Defined in:
- lib/dear_inventory/error.rb
Direct Known Subclasses
APILimitError, NoMorePagesError, NotPaginatedError, RequestError, ValidationError
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil) ⇒ Error
Returns a new instance of Error.
12 13 14 |
# File 'lib/dear_inventory/error.rb', line 12 def initialize( = nil) @message = T.let(, T.nilable(String)) end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
9 10 11 |
# File 'lib/dear_inventory/error.rb', line 9 def @message end |