Exception: FbGraph::Unauthorized

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

Direct Known Subclasses

InvalidToken

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

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

Returns a new instance of Unauthorized



90
91
92
# File 'lib/fb_graph/exception.rb', line 90

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