Skip to content

ErrorEvent

Kenan Genjac edited this page Feb 23, 2023 · 1 revision



errorCode

Description

Getter for the errorCode field.

Returns

  • ErrorCode - Value of the errorCode field that contains the reason why some action during the call failed with an error.

Example

func onError(_ errorEvent: ErrorEvent) {
    os_log("An error occured: %@", errorEvent.errorCode.description)
}

Tutorials

Migration guides

Reference documentation

Clone this wiki locally