Exception: FbGraph::NotFound

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

Constant Summary

Constants inherited from Exception

Exception::ERROR_EXCEPTION_MATCHERS, Exception::ERROR_HEADER_MATCHERS

Instance Attribute Summary

Attributes inherited from Exception

#code, #type

Instance Method Summary collapse

Methods inherited from Exception

handle_httpclient_error

Constructor Details

#initialize(message, body = '') ⇒ NotFound

Returns a new instance of NotFound.



87
88
89
# File 'lib/fb_graph/exception.rb', line 87

def initialize(message, body = '')
  super 404, message, body
end