共用方式為


EventHubError 類別

表示用戶端中發生錯誤。

繼承
builtins.Exception
EventHubError

建構函式

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

參數

名稱 Description
message
必要
details
預設值: None

變數

名稱 Description
message
str

錯誤訊息。

error
str

如果有,則為錯誤條件。

details

如果包含在服務回應中,則錯誤詳細資料。

方法

add_note

Exception.add_note (附注) – 將附注新增至例外狀況

with_traceback

Exception.with_traceback (tb) – 設定自我設定。追蹤回 tb 並傳回自我。

add_note

Exception.add_note (附注) – 將附注新增至例外狀況

add_note()

with_traceback

Exception.with_traceback (tb) – 設定自我設定。追蹤回 tb 並傳回自我。

with_traceback()

屬性

args