InUseAttributeError
InUseAttributeError
概述
InUseAttributeError 是 Aspose.Html FOSS 中用于 Python 的一个类。继承自:DOMException。
当 Attr 已被另一个元素使用时抛出。
此类提供 1 个方法,用于在 Python 程序中处理 InUseAttributeError 对象。可用的方法包括:__init__。在安装了用于 Python 的 Aspose.Html FOSS 包后,所有公共成员对任何 Python 应用程序均可访问。属性:code,message。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
code | int | 读取 | 获取代码。 |
message | `` | 读取 | 获取消息。 |
方法
| 签名 | 描述 |
|---|---|
__init__(message: str) | Calls init(message) 在此 InUseAttributeError 实例上。 |