ProtectError

public struct ProtectError : Error, LocalizedError

Custom error type for Protect SDK exceptions

  • Declaration

    Swift

    public let message: String
  • A localized description of the error.

    Declaration

    Swift

    public var errorDescription: String? { get }
  • Initializes a new instance of ProtectError with a given message.

    Declaration

    Swift

    public init(_ message: String)