ThrottleRequestsException class final
429 with Retry-After and X-RateLimit-* headers.
- Inheritance
-
- Object
- DaravelException
- HttpException
- ThrottleRequestsException
Constructors
-
ThrottleRequestsException({String message = 'Too Many Attempts.', Map<
String, String> headers = const <String, String>{}}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Extra headers to send with the rendered response.
finalinherited
- message → String
-
Human readable description of the failure.
finalinherited
- prettyJson → bool
-
Whether the default renderer writes the body pretty-printed, as
Laravel's
Handler::prepareJsonResponsedoes for every HTTP error (JSON_PRETTY_PRINT).AuthenticationExceptionoverrides it: Laravel answers that one with a plainresponse()->json.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
HTTP status code.
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