Exscript.protocols.exception module¶
Network related error types.
-
exception
Exscript.protocols.exception.DriverReplacedException[source]¶ Bases:
Exscript.protocols.exception.ProtocolExceptionAn exception that is thrown if the protocol driver was switched during a call to expect().
-
exception
Exscript.protocols.exception.ExpectCancelledException[source]¶ Bases:
Exscript.protocols.exception.ProtocolExceptionAn exception that is thrown if Protocol.cancel_expect() was called.
-
exception
Exscript.protocols.exception.InvalidCommandException[source]¶ Bases:
Exscript.protocols.exception.ProtocolExceptionAn exception that is thrown if the response of a connected host contained a string that looked like an error.
-
exception
Exscript.protocols.exception.LoginFailure[source]¶ Bases:
Exscript.protocols.exception.ProtocolExceptionAn exception that is thrown if the response of a connected host looked like it was trying to signal a login error during the authentication procedure.
-
exception
Exscript.protocols.exception.ProtocolException[source]¶ Bases:
exceptions.ExceptionDefault exception that is thrown on most protocol related errors.
-
exception
Exscript.protocols.exception.TimeoutException[source]¶ Bases:
Exscript.protocols.exception.ProtocolExceptionAn exception that is thrown if the connected host did not respond for too long.