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



82
83
84
# File 'lib/otto/errors.rb', line 82

def self.default_log_level
  :info
end

.default_statusObject



78
79
80
# File 'lib/otto/errors.rb', line 78

def self.default_status
  404
end