method
status_code
v3.0.9 -
Show latest stable
- Class:
ActionDispatch::ShowExceptions
status_code(exception)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/show_exceptions.rb, line 113
def status_code(exception)
Rack::Utils.status_code(@@rescue_responses[exception.class.name])
end