OnException
public ExceptionEventHandler OnException;
Argument
Value | Type | Description |
---|---|---|
e | Exception | Thrown exception |
Description
This event is called when an exception occurs in BACKND Chat.
The event may occur due to the following situations:
- When an exception occurs while receiving and processing a message sent from the server
- When an exception occurs within the event handler written by the developer
Exceptions that occur in BACKND SDK 5.0.3 and earlier
Example
Backend.Chat.OnException += (Exception e) => {
// TODO
};