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, #type

Instance Method Summary collapse

Methods inherited from Exception

handle_httpclient_error

Constructor Details

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

Returns a new instance of BadRequest.



75
76
77
# File 'lib/fb_graph/exception.rb', line 75

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