method
status_code_for_exception
v5.2.3 -
Show latest stable
- Class:
ActionDispatch::ExceptionWrapper
status_code_for_exception(class_name)public
No documentation available.
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 85
def self.status_code_for_exception(class_name)
Rack::Utils.status_code(@@rescue_responses[class_name])
end