ClientError

public struct ClientError : BiidError, LocalizedError

Error object returned with an onClientError completion handler. Returned when a biid Client method has failed

  • Error

    Declaration

    Swift

    public var error: ClientException
  • Error Details

    Declaration

    Swift

    public var details: String?
  • Unique ID generated per API call. Can be used for error tracking

    Declaration

    Swift

    public var traceID: String?
  • ClientError Initilizer

    Declaration

    Swift

    public init(error: ClientException, details: String? = nil, traceID: String? = nil)
  • Description

    Declaration

    Swift

    public var description: String { get }
  • Localised Error Description

    Declaration

    Swift

    public var errorDescription: String? { get }