I'm using the ClientDisconnectionFromServerEvent event to listen for any disconnection. I am only interested in getting disconnections that happened due to errors (time out, etc.).
This listens for every disconnection including the ones triggered by the player.
How can I either only catch the errors that are thrown, or check for the reason?
Thank you.