Category enum

The high-level category for the error.

Inheritance

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<Category>
A constant List of the values in this enum, in order of their declaration.