Table of Contents

Enum DomError

Namespace
AngleSharp.Dom
Assembly
AngleSharp.dll

A collection of official DOM error codes.

[DomName("DOMError")]
public enum DomError : byte
Extension Methods

Fields

[DomDescription("The operation was aborted.")] [DomName("ABORT_ERR")] Abort = 20

The operation was aborted.

[DomDescription("The object can not be cloned.")] [DomName("DATA_CLONE_ERR")] DataClone = 25

The object can not be cloned.

[DomDescription("The size of the string is invalid.")] [DomName("DOMSTRING_SIZE_ERR")] [DomHistorical] DomStringSize = 2

The size of the string is invalid.

[DomDescription("The operation would yield an incorrect node tree.")] [DomName("HIERARCHY_REQUEST_ERR")] HierarchyRequest = 3

The operation would yield an incorrect node tree.

[DomDescription("The element is already in-use.")] [DomName("INUSE_ATTRIBUTE_ERR")] [DomHistorical] InUse = 10

The element is already in-use.

[DomDescription("The index is not in the allowed range.")] [DomName("INDEX_SIZE_ERR")] IndexSizeError = 1

The index is not in the allowed range.

[DomDescription("The object does not support the operation or argument.")] [DomName("INVALID_ACCESS_ERR")] InvalidAccess = 15

The object does not support the operation or argument.

[DomDescription("Invalid character detected.")] [DomName("INVALID_CHARACTER_ERR")] InvalidCharacter = 5

Invalid character detected.

[DomDescription("The object can not be modified in this way.")] [DomName("INVALID_MODIFICATION_ERR")] InvalidModification = 13

The object can not be modified in this way.

[DomDescription("The supplied node is incorrect or has an incorrect ancestor for this operation.")] [DomName("INVALID_NODE_TYPE_ERR")] InvalidNodeType = 24

The supplied node is incorrect or has an incorrect ancestor for this operation.

[DomDescription("The object is in an invalid state.")] [DomName("INVALID_STATE_ERR")] InvalidState = 11

The object is in an invalid state.

[DomDescription("The operation is not allowed by namespaces in XML.")] [DomName("NAMESPACE_ERR")] Namespace = 14

The operation is not allowed by namespaces in XML.

[DomDescription("A network error occurred.")] [DomName("NETWORK_ERR")] Network = 19

A network error occurred.

[DomDescription("The data is allowed for this object.")] [DomName("NO_DATA_ALLOWED_ERR")] [DomHistorical] NoDataAllowed = 6

The data is allowed for this object.

[DomDescription("The object can not be modified.")] [DomName("NO_MODIFICATION_ALLOWED_ERR")] NoModificationAllowed = 7

The object can not be modified.

[DomDescription("The object can not be found here.")] [DomName("NOT_FOUND_ERR")] NotFound = 8

The object can not be found here.

[DomDescription("The operation is not supported.")] [DomName("NOT_SUPPORTED_ERR")] NotSupported = 9

The operation is not supported.

[DomDescription("The quota has been exceeded.")] [DomName("QUOTA_EXCEEDED_ERR")] QuotaExceeded = 22

The quota has been exceeded.

[DomDescription("The operation is insecure.")] [DomName("SECURITY_ERR")] Security = 18

The operation is insecure.

[DomDescription("The string did not match the expected pattern.")] [DomName("SYNTAX_ERR")] Syntax = 12

The string did not match the expected pattern.

[DomDescription("The operation timed out.")] [DomName("TIMEOUT_ERR")] Timeout = 23

The operation timed out.

[DomDescription("The provided argument type is invalid.")] [DomName("TYPE_MISMATCH_ERR")] [DomHistorical] TypeMismatch = 17

The provided argument type is invalid.

[DomDescription("The given URL does not match another URL.")] [DomName("URL_MISMATCH_ERR")] UrlMismatch = 21

The given URL does not match another URL.

[DomDescription("The validation failed.")] [DomName("VALIDATION_ERR")] Validation = 15

The validation failed.

[DomDescription("The object is in the wrong document.")] [DomName("WRONG_DOCUMENT_ERR")] WrongDocument = 4

The object is in the wrong document.