Skip to content

OTPComponentProtocolErrorDelegate

dsmurfin edited this page Aug 28, 2021 · 3 revisions

OTPComponentProtocolErrorDelegate

OTP Component Protocol Error Delegate

public protocol OTPComponentProtocolErrorDelegate: AnyObject 

Required methods for objects implementing this delegate.

Inheritance

AnyObject

Requirements

layerError(_:​)

Notifies the delegate of errors in parsing layers.

func layerError(_ errorDescription: String)

Parameters

  • errorDescription: A human-readable description of the error.

sequenceError(_:​)

Notifies the delegate of sequence errors.

func sequenceError(_ errorDescription: String)

Parameters

  • errorDescription: A human-readable description of the error.

unknownError(_:​)

Notifies the delegate of unknown errors.

func unknownError(_ errorDescription: String)

Parameters

  • errorDescription: A human-readable description of the error.
Clone this wiki locally