Category enum
The high-level category for the error.
Constructors
- Category()
-
const
Values
- apiError → const Category
-
An error occurred with the Connect API itself.
- authenticationError → const Category
-
An authentication error occurred. Most commonly, the request had a missing, malformed, or otherwise invalid Authorization header.
- invalidRequestError → const Category
-
The request was invalid. Most commonly, a required parameter was missing, or a provided parameter had an invalid value.
- rateLimitError → const Category
-
Your application reached the Connect API rate limit. Retry your request after a while.
- paymentMethodError → const Category
-
An error occurred while processing a payment method. Most commonly, the details of the payment method were invalid (such as a card's CVV or expiration date).
- refundError → const Category
-
An error occurred while attempting to process a refund.
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