共用方式為


UserException 類別

與使用者錯誤相關的例外狀況。

建構新的 UserException。

繼承
UserException

建構函式

UserException(exception_message='', target=None, **kwargs)

參數

exception_message
必要

例外狀況的詳細資料。

target
預設值: None

造成擲回例外狀況的專案名稱。

exception_message
必要

例外狀況的詳細資料。

target
必要

造成擲回例外狀況的專案名稱。