Error Event
Informs about an error during an operation.
Syntax
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.