DomException public sealed class DomException : Exception, IDomException 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(DomError code) Creates a new DOMException.