ErrorCode

Stable error codes for monitoring and tracking checkout errors.

These codes provide consistent identifiers for different error types that can occur during the checkout flow. They are designed to be stable across SDK versions to enable reliable error monitoring, analytics, and debugging.

Entries

Link copied to clipboard

Network connection failure.

Link copied to clipboard

Network request timeout.

Link copied to clipboard

Service-side error.

Link copied to clipboard

SDK integration error.

Link copied to clipboard

Unknown or unexpected error.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

The numeric error code value used for logging and monitoring systems.

Functions

Link copied to clipboard
fun valueOf(value: String): ErrorCode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.