Exceptions¶
-
exception
lahja.exceptions.
BindError
¶ Bases:
lahja.exceptions.LahjaError
Raise when an attempt was made to bind an event that is already bound.
-
exception
lahja.exceptions.
ConnectionAttemptRejected
¶ Bases:
lahja.exceptions.LahjaError
Raised when an attempt was made to connect to an endpoint that is already connected.
-
exception
lahja.exceptions.
LifecycleError
¶ Bases:
lahja.exceptions.LahjaError
Raised when attempting to violate the lifecycle of an endpoint such as starting an already started endpoint or starting an endpoint that has already stopped.
-
exception
lahja.exceptions.
RemoteDisconnected
¶ Bases:
lahja.exceptions.LahjaError
Raise when a remote disconnects while we attempting to read a message.
-
exception
lahja.exceptions.
UnexpectedResponse
¶ Bases:
lahja.exceptions.LahjaError
Raised when the type of a response did not match the
expected_response_type
.