Exception: Otto::NotFoundError

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/otto/errors.rb

Overview

Not Found (404) error

Use when the requested resource does not exist

Class Method Summary collapse

Class Method Details

.default_log_levelObject



75
76
77
# File 'lib/otto/errors.rb', line 75

def self.default_log_level
  :info
end

.default_statusObject



71
72
73
# File 'lib/otto/errors.rb', line 71

def self.default_status
  404
end