Exception: FbGraph::BadRequest

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

Direct Known Subclasses

Auth::VerificationFailed, InvalidRequest

Instance Attribute Summary

Attributes inherited from Exception

#error_code, #error_subcode, #status, #type

Instance Method Summary (collapse)

Methods inherited from Exception

handle_response, handle_structured_response, klass_for_header, klass_for_status, klass_for_structured_body

Constructor Details

- (BadRequest) initialize(message, details = {})

Returns a new instance of BadRequest



84
85
86
# File 'lib/fb_graph/exception.rb', line 84

def initialize(message, details = {})
  super 400, message, details
end