Exception: Regio::Unprocessable
- Inherits:
-
StandardError
- Object
- StandardError
- Regio::Unprocessable
- Defined in:
- lib/regio/errors/unprocessable.rb
Instance Method Summary collapse
- #http_status_code ⇒ Object
-
#initialize(msg = 'Unprocessable') ⇒ Unprocessable
constructor
A new instance of Unprocessable.
Constructor Details
#initialize(msg = 'Unprocessable') ⇒ Unprocessable
Returns a new instance of Unprocessable.
5 6 7 |
# File 'lib/regio/errors/unprocessable.rb', line 5 def initialize(msg = 'Unprocessable') super end |
Instance Method Details
#http_status_code ⇒ Object
9 10 11 |
# File 'lib/regio/errors/unprocessable.rb', line 9 def http_status_code 422 end |