Exception: Regio::NotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/regio/errors/not_found.rb

Instance Method Summary collapse

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_codeObject



9
10
11
# File 'lib/regio/errors/not_found.rb', line 9

def http_status_code
  403
end