Exception: LUSI::API::Core::APIError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/lusi_api/core/exceptions.rb

Overview

The root of the LUSI API exception hierarchy

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, url: nil) ⇒ APIError

Returns a new instance of APIError.



8
9
10
11
# File 'lib/lusi_api/core/exceptions.rb', line 8

def initialize(message = nil, url: nil)
  super(message || 'LUSI API error')
  @url = url
end