EventHubError Class

Represents an error occurred in the client.

Inheritance
builtins.Exception
EventHubError

Constructor

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

Parameters

Name Description
message
Required
details
Default value: None

Variables

Name Description
message
str

The error message.

error
str

The error condition, if available.

details

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