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

Constructors

InvalidPayloadException(String message, {Object? cause})
Creates the exception.
const

Properties

cause → Object?
The underlying error, if any.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
A description of the problem.
finalinherited
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.
inherited

Operators

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