onError (event)
Informs about an error during an operation.
Syntax
- (void)onError:(int)errorCode :(NSString*)description;
func onError(_ errorCode: Int32, _ description: String)
Remarks
The event is fired when an error happens in the middle of the class's work.
ErrorCode contains an error code and Description contains a textual description of the error.