GatewayTimeoutException class
A custom exception representing a "Gateway Timeout" error (HTTP 504).
This exception extends HttpServerErrorException
and is thrown to indicate
that the server, while acting as a gateway or proxy, did not receive a timely
response from an upstream server or some other auxiliary server. It includes
a human-readable message and has an HTTP status code of HttpStatus.gatewayTimeout.
- Inheritance
-
- Object
- HttpStatusCodeException
- GatewayTimeoutException
Constructors
- GatewayTimeoutException(String message)
-
Creates a GatewayTimeoutException with the specified
message
.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A human-readable description of the exception.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
The HTTP status code associated with the exception.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited