WrongDocumentError

WrongDocumentError

Overview

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

Raised when a node belongs to a different document.

This class provides 1 method for working with WrongDocumentError 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 WrongDocumentError instance.

See Also