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