PayloadTooLargeException class final

Thrown when the request body exceeds the configured limit (maxBodySize). The default Error Boundary converts it into 413 Payload Too Large.

Implemented types

Constructors

PayloadTooLargeException(int limit)
Creates the exception for a body larger than limit bytes.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
limit → int
Limit in bytes that was exceeded.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited