Exception: FbGraph2::Exception::NotFound

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

Returns a new instance of NotFound.



63
64
65
# File 'lib/fb_graph2/exception.rb', line 63

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