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