Exception property

Object? Exception
getter/setter pair
Gets the exception representing the error. If Exception is null, the connection was cleanly closed by the server.

Implementation

Object? Exception;