Exception: FbGraph::BadRequest

Inherits:
Exception
  • Object
show all
Defined in:
lib/fb_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, #message, #type

Instance Method Summary collapse

Methods inherited from Exception

handle_httpclient_error

Constructor Details

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

Returns a new instance of BadRequest.



71
72
73
# File 'lib/fb_graph/exception.rb', line 71

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