DOMException public sealed class DOMException : Exception Represents a DOM exception. Documentation Code public int Code { get; } Gets the error code for this exception. public string Name { get; } Gets the name of the error. public DOMException(int code) Creates a new DOMException.