Exception: Garage::BadRequest

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/garage/exceptions.rb

Instance Attribute Summary

Attributes inherited from HTTPError

#status

Instance Method Summary collapse

Methods inherited from HTTPError

#status_code

Constructor Details

#initialize(error) ⇒ BadRequest

Returns a new instance of BadRequest.



10
11
12
13
# File 'lib/garage/exceptions.rb', line 10

def initialize(error)
  @status = :bad_request
  super(error)
end