|
pure virtual |
Throws an exception that provides the reason for the closure of this connection.
For example, this function throws CloseConnectionException when the connection was closed gracefully by the peer; it throws ConnectionAbortedException when the connection is aborted with abort. This function does nothing if the connection is not yet closed.