LightWalletServiceError

public enum LightWalletServiceError : Error
extension LightWalletServiceError: Equatable

Wrapper for errors received from a Lightwalletd endpoint

  • Undocumented

    Declaration

    Swift

    case generalError(message: String)
  • Undocumented

    Declaration

    Swift

    case failed(statusCode: Int, message: String)
  • Undocumented

    Declaration

    Swift

    case invalidBlock
  • Undocumented

    Declaration

    Swift

    case sentFailed(error: Error)
  • Undocumented

    Declaration

    Swift

    case genericError(error: Error)
  • Undocumented

    Declaration

    Swift

    case timeOut
  • Undocumented

    Declaration

    Swift

    case criticalError
  • Undocumented

    Declaration

    Swift

    case userCancelled
  • Undocumented

    Declaration

    Swift

    case unknown
  • Declaration

    Swift

    public static func == (lhs: `Self`, rhs: `Self`) -> Bool