## DOMException.Code property

Returns a value that contains one of the error code constants, or 0 if none match. This field is used for historical reasons.

```csharp
public ushort Code { get; }
```

### Property Value

Returns the error code.

### See Also

* class [DOMException](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
