Exception: Modern::Errors::UnprocessableEntity
- Defined in:
- lib/modern/errors/web_errors.rb
Instance Method Summary collapse
-
#initialize(msg = "Recognized content-type of body, but could not parse it.") ⇒ UnprocessableEntity
constructor
A new instance of UnprocessableEntity.
- #status ⇒ Object
Constructor Details
#initialize(msg = "Recognized content-type of body, but could not parse it.") ⇒ UnprocessableEntity
Returns a new instance of UnprocessableEntity.
74 75 76 |
# File 'lib/modern/errors/web_errors.rb', line 74 def initialize(msg = "Recognized content-type of body, but could not parse it.") super(msg) end |
Instance Method Details
#status ⇒ Object
78 79 80 |
# File 'lib/modern/errors/web_errors.rb', line 78 def status 422 end |