UserErrorException 类

与无效或不受支持的输入相关的异常。 对于缺少的参数、尝试访问不存在的实体或配置运行时的值类型无效,通常会引发此异常。

初始化 UserErrorException 的新实例。

构造函数

UserErrorException(exception_message, **kwargs)

参数

名称 说明
exception_message
必需
str

描述错误的消息。

exception_message
必需
str

描述错误的消息。