Exception: FbGraph2::Exception::InternalServerError

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

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 = {}) ⇒ InternalServerError

Returns a new instance of InternalServerError.



69
70
71
# File 'lib/fb_graph2/exception.rb', line 69

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