你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventHubError Class

Represents an error occurred in the client.

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