WalletAuthApiError

public enum WalletAuthApiError : WalletErrorApiResponse, JsonApiResponse, Decodable, Encodable

Wallet-Auth API response error

  • The broken syntax of the query, the query cannot be parsed.

    Declaration

    Swift

    case syntaxError
  • Part of the request parameters is missing or has an invalid value.

    Declaration

    Swift

    case illegalParameters([String])
  • Part of HTTP request headers is missing or has an invalid value.

    Declaration

    Swift

    case illegalHeaders([String])
  • Missing or invalid Basic-authorization headers.

    Declaration

    Swift

    case invalidCredentials
  • Missing or invalid OAuth2 authorization wallet.

    Declaration

    Swift

    case invalidToken
  • Missing or invalid electronic signature request.

    Declaration

    Swift

    case invalidSignature
  • Specified authorization of the wallet does not have sufficient rights for performing this operation.

    Declaration

    Swift

    case invalidScope
  • Requested operation forbidden

    Declaration

    Swift

    case forbidden
  • Technical error. The result of the query is unknown.

    Note

    The client should repeat the request with the same arguments after the recommended retry time.

    Declaration

    Swift

    case technicalError
  • Service temporary unavailable.

    Declaration

    Swift

    case serviceUnavailable
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws