Exception: LUSI::API::Core::Lookup::LookupError
- Defined in:
- lib/lusi_api/core/lookup.rb
Overview
The root of the lookup exception hierarchy
Instance Attribute Summary collapse
-
#key ⇒ any
The key which triggered the lookup error.
Instance Method Summary collapse
-
#initialize(*args, key: nil) ⇒ void
constructor
Initialises a new LookupError instance.
Constructor Details
#initialize(*args, key: nil) ⇒ void
Initialises a new LookupError instance
23 24 25 26 |
# File 'lib/lusi_api/core/lookup.rb', line 23 def initialize(*args, key: nil) super(*args) @key = key end |
Instance Attribute Details
#key ⇒ any
Returns the key which triggered the lookup error.
18 19 20 |
# File 'lib/lusi_api/core/lookup.rb', line 18 def key @key end |