
## 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.
### Definition:
```python
@property
def code(self):
    ...
@code.setter
def code(self, value):
    ...
```

### See Also
* module [`aspose.html.dom`](../../)
* class [`DOMException`](/html/python-net/aspose.html.dom/domexception)
