Exception: Otto::BadRequestError

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

Overview

Bad Request (400) error

Use for malformed requests, invalid parameters, or failed validation

Class Method Summary collapse

Class Method Details

.default_log_levelObject



43
44
45
# File 'lib/otto/errors.rb', line 43

def self.default_log_level
  :info
end

.default_statusObject



39
40
41
# File 'lib/otto/errors.rb', line 39

def self.default_status
  400
end