Exception: Otto::PayloadTooLargeError

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

Overview

Payload Too Large (413) error

Use when request body exceeds configured size limits

Direct Known Subclasses

Security::RequestTooLargeError

Class Method Summary collapse

Class Method Details

.default_log_levelObject



95
96
97
# File 'lib/otto/errors.rb', line 95

def self.default_log_level
  :warn
end

.default_statusObject



91
92
93
# File 'lib/otto/errors.rb', line 91

def self.default_status
  413
end