Exception: FbGraph::InternalServerError

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

Direct Known Subclasses

AdgroupFetchFailure, CreativeNotSaved, OpenProcessFailure, QueryConnection, QueryDuplicateKey, QueryError, QueryLockTimeout, TargetingSpecNotSaved, TransactionCommitFailure

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

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

Returns a new instance of InternalServerError



102
103
104
# File 'lib/fb_graph/exception.rb', line 102

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