class RailsBand::ActionController::Event::ProcessAction

def status

def status
  @status ||=
    begin
      status = @event.payload[:status]
      if status.nil? && (exception_class_name = @event.payload[:exception]&.first)
        status = ::ActionDispatch::ExceptionWrapper.status_code_for_exception(exception_class_name)
      end
      status
    end
end