ConnectionLostError Class

Connection to the Event Hub is lost.

In most cases the client will automatically retry on this error.

Inheritance
ConnectionLostError

Constructor

ConnectionLostError(message: str, details: List[str] | None = None)

Parameters

Name Description
message
Required
details
Default value: None

Methods

add_note

Exception.add_note(note) – add a note to the exception

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

add_note

Exception.add_note(note) – add a note to the exception

add_note()

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

with_traceback()

Attributes

args