Exception: Regio::Unprocessable

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

Instance Method Summary collapse

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_codeObject



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

def http_status_code
  422
end