Error

public enum Error : Sendable, Equatable
extension TSHPay.Error: Error

TSH Pay Errors.

  • The Device Environment is not safe.

    Declaration

    Swift

    case deviceEnvironmentUnsafe(_: Swift.Error)

    Parameters

    underlying

    Swift Error

  • An error occuring on the client side.

    Declaration

    Swift

    case clientError(_: String)

    Parameters

    message

    The error message.

  • A configuration error.

    Declaration

    Swift

    case configurationError
  • A storage error.

    Declaration

    Swift

    case storageError(_: Swift.Error)

    Parameters

    underlying

    Swift Error

  • An unrecoverable storage error that may be caused by iCloud/device backup restore. This error is deprecated in V7.2.1 as the SDK will it handle internally.

    Since

    7.2.0

    Declaration

    Swift

    case storageUnrecoverableError
  • An error occurring during the reset process.

    Declaration

    Swift

    case reset(_: String)

    Parameters

    message

    The error message.

  • A localized message describing the error that occurred.

    Declaration

    Swift

    public var description: String { get }