Exception: Alma::StandardError
- Inherits:
-
StandardError
- Object
- StandardError
- Alma::StandardError
- Defined in:
- lib/alma/error.rb
Direct Known Subclasses
BibItemSet::ResponseError, BibRequest::ItemAlreadyExists, FineSet::ResponseError, ItemRequestOptions::ResponseError, LoanSet::ResponseError, RequestOptions::ResponseError, RequestSet::ResponseError, Response::StandardError, User::ResponseError
Instance Method Summary collapse
-
#initialize(message, loggable = {}) ⇒ StandardError
constructor
A new instance of StandardError.
Constructor Details
#initialize(message, loggable = {}) ⇒ StandardError
Returns a new instance of StandardError.
19 20 21 22 23 24 25 |
# File 'lib/alma/error.rb', line 19 def initialize(, loggable = {}) if Alma.configuration.enable_loggable = { error: }.merge(loggable).to_json end super end |