class LUSI::API::Core::Lookup::LookupError

The root of the lookup exception hierarchy

Attributes

key[RW]

@!attribute [rw] key

@return [any] the key which triggered the lookup error

Public Class Methods

new(*args, key: nil) click to toggle source

Initialises a new LookupError instance @param key [any] the key which triggered the lookup error @return [void]

Calls superclass method LUSI::API::Core::APIError::new
# File lib/lusi_api/core/lookup.rb, line 23
def initialize(*args, key: nil)
  super(*args)
  @key = key
end