onError (event)

This event is fired when the server detects an error.

Syntax

- (void)onError:(int)errorCode :(NSString*)description;
func onError(_ errorCode: Int32, _ description: String)

Remarks

If the server sends an error not related to a command sent from the class, the class will fire an Error event containing information related to the error.

ErrorCode will contain the code sent by the server, and Description will contain a standard interpretation of that code.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]