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



36
37
38
# File 'lib/otto/errors.rb', line 36

def self.default_log_level
  :info
end

.default_statusObject



32
33
34
# File 'lib/otto/errors.rb', line 32

def self.default_status
  400
end