DOMException

Overview

DOMException is a class in Aspose.Html FOSS for Python. Inherits from: Exception.

Base for all DOM exceptions.

This class provides 1 method for working with DOMException objects in Python programs. Available methods include: __init__. All public members are accessible to any Python application after installing the Aspose.Html FOSS for Python package. Properties: code, message.

Properties

NameTypeAccessDescription
codeintReadGets the code.
message``ReadGets the message.

Methods

SignatureDescription
__init__(message: str)Calls init(message) on this DOMException instance.

See Also