Exception: FbGraph2::Exception::Unauthorized

Inherits:
FbGraph2::Exception show all
Defined in:
lib/fb_graph2/exception.rb

Direct Known Subclasses

InvalidToken

Constant Summary

Constants inherited from FbGraph2::Exception

ERROR_HEADER_MATCHERS

Instance Attribute Summary

Attributes inherited from FbGraph2::Exception

#code, #error_subcode, #status, #type

Instance Method Summary collapse

Methods inherited from FbGraph2::Exception

detect, detect_from_header, detect_from_status

Constructor Details

#initialize(message, details = {}) ⇒ Unauthorized

Returns a new instance of Unauthorized.



57
58
59
# File 'lib/fb_graph2/exception.rb', line 57

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