Class: RelicLink::Errors::BadRequestError

Inherits:
HttpRequestError show all
Defined in:
lib/relic_link/errors/server_error.rb

Overview

Raised when a 400 is returned in an API response.

Instance Attribute Summary

Attributes inherited from ServerError

#response

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ BadRequestError

Returns a new instance of BadRequestError.



27
28
29
# File 'lib/relic_link/errors/server_error.rb', line 27

def initialize(response)
  super('bad_request', response)
end