Exception: GSGraph::NotFound

Inherits:
Exception
  • Object
show all
Defined in:
lib/gs_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, handle_rack_oauth2_error

Constructor Details

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

Returns a new instance of NotFound.



105
106
107
# File 'lib/gs_graph/exception.rb', line 105

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