ReadyRemitError

An error value communicating the process of verifying funds and creating a transfer was not successful

Definition

public struct ReadyRemitError: Error {
    public init(code: String?, message: String) {
        ...
    }
}

Parameters

PropertyTypeDescription
codeString?A ReadyRemit API error code
messageStringA user friendly message to present inside the SDK interface

Sample Usages

private let readyRemitError: ReadyRemitError = .init(
    code: nil,
    message: "An unexpected error occurred. Please try again."
)