Exception: Increase::HTTP::RequestError

Inherits:
Error
  • Object
show all
Defined in:
lib/increase/base_client.rb

Direct Known Subclasses

APIConnectionError, APITimeoutError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message:, request:) ⇒ RequestError

Returns a new instance of RequestError.



287
288
289
290
# File 'lib/increase/base_client.rb', line 287

def initialize(message:, request:)
  super(message)
  @request = request
end

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request.



285
286
287
# File 'lib/increase/base_client.rb', line 285

def request
  @request
end