Types

Link copied to clipboard
data class Authentication(val authenticationCode: POFailure.AuthenticationCode) : POFailure.Code

API credentials could not be verified.

Link copied to clipboard

Operation is cancelled.

Link copied to clipboard
data class Generic(val genericCode: POFailure.GenericCode = GenericCode.mobile) : POFailure.Code

Generic error that can’t be classified as specific.

Link copied to clipboard
data class Internal(val internalCode: POFailure.InternalCode = InternalCode.mobile) : POFailure.Code

Something went wrong on the ProcessOut side. This is extremely rare.

Link copied to clipboard

No network connection.

Link copied to clipboard
data class NotFound(val notFoundCode: POFailure.NotFoundCode) : POFailure.Code

The requested resource could not be found.

Link copied to clipboard
data class Timeout(val timeoutCode: POFailure.TimeoutCode = TimeoutCode.mobile) : POFailure.Code

Operation is timed out.

Link copied to clipboard
data class Unknown(val rawValue: String) : POFailure.Code

Unknown error that can’t be interpreted. Inspect associated rawValue for additional details.

Link copied to clipboard
data class Validation(val validationCode: POFailure.ValidationCode) : POFailure.Code

Request data is not valid or cannot be validated.

Properties

Link copied to clipboard

Raw error code. Consistent with iOS SDK.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)