EventHubError Class

Represents an error occurred in the client.

Inheritance
builtins.Exception
EventHubError

Constructor

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

Parameters

message
details
default value: None

Variables

message
str

The error message.

error
str

The error condition, if available.

details
list[str]

The error details, if included in the service response.

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