InvalidPayloadException class final
The body is not a valid webhook payload, for example not JSON or
without a type.
When WebhookVerifier.verify throws it, the signature was valid: the
delivery comes from AhaSend, but this version of the package cannot
decode it.
- Inheritance
-
- Object
- WebhookException
- InvalidPayloadException
Constructors
- InvalidPayloadException(String message, {Object? cause})
-
Creates the exception.
const
Properties
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