[][src]Module xml_dom::error

Provides a common Error and Result type and a set of common error messages.

Enums

Error

Corresponds to the DOM DomException type.

Constants

MSG_DUPLICATE_ID

Error message: "Violation of xml:id §4, attempt to insert duplicate ID value."

MSG_INDEX_ERROR

Error message: "Either offset or count invalid for string operation."

MSG_INVALID_EXTENSION

Error message: "This node's extension does not match it's node type."

MSG_INVALID_NAME

Error message: "The provided value could not be parsed into a Name."

MSG_INVALID_NODE_TYPE

Error message: "The node self is not of the type expected by this method."

MSG_NO_PARENT_NODE

Error message: "This node is missing a parent_node value."

MSG_WEAK_REF

Error message: "Could not upgrade a weak reference."

MSG_WRONG_DOCUMENT

Error message: "Cannot append or insert a child node created in a different document."

Type Definitions

Result

This standard Result structure is used wherever an IDL function is marked as throwing exceptions.