# File actionpack/lib/action_dispatch/testing/test_response.rb, line 41
def error?
ActiveSupport::Deprecation.warn( The error? predicate is deprecated and will be removed in Rails 6.0. Please use server_error? as provided by Rack::Response::Helpers..squish)
server_error?
end