Exceptions¶
-
exception
lahja.exceptions.BindError¶ Bases:
lahja.exceptions.LahjaErrorRaise when an attempt was made to bind an event that is already bound.
-
exception
lahja.exceptions.ConnectionAttemptRejected¶ Bases:
lahja.exceptions.LahjaErrorRaised when an attempt was made to connect to an endpoint that is already connected.
-
exception
lahja.exceptions.LifecycleError¶ Bases:
lahja.exceptions.LahjaErrorRaised 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.NoSubscribers¶ Bases:
lahja.exceptions.LahjaErrorRaised when attempting to send an event or make a request while there are no listeners for the specific type of event or request. This is a safety check, set
require_subscriberofBroadcastConfigtoFalseto allow propagation without listeners.
-
exception
lahja.exceptions.RemoteDisconnected¶ Bases:
lahja.exceptions.LahjaErrorRaise when a remote disconnects while we attempting to read a message.
-
exception
lahja.exceptions.UnexpectedResponse¶ Bases:
lahja.exceptions.LahjaErrorRaised when the type of a response did not match the
expected_response_type.