Exception: GSGraph::BadRequest

Inherits:
Exception
  • Object
show all
Defined in:
lib/gs_graph/exception.rb

Direct Known Subclasses

Auth::VerificationFailed, InvalidRequest

Constant Summary

Constants inherited from Exception

Exception::ERROR_EXCEPTION_MATCHERS, Exception::ERROR_HEADER_MATCHERS

Instance Attribute Summary

Attributes inherited from Exception

#code, #type

Instance Method Summary collapse

Methods inherited from Exception

handle_httpclient_error, handle_rack_oauth2_error

Constructor Details

#initialize(message, body = '') ⇒ BadRequest

Returns a new instance of BadRequest.



93
94
95
# File 'lib/gs_graph/exception.rb', line 93

def initialize(message, body = '')
  super 400, message, body
end