|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_DOMDocument.h>
A DOM error (a code and an optional message).
Functions with a ULDOMError* parameter write it only when a DOM error occurs (see the Handling Errors section of CAPI_DOMDocument.h). Zero-initialize it before each call. A DOM error overwrites both fields without freeing the earlier message, so before you reuse a ULDOMError, destroy its message and zero it again (or the old string leaks).
Public Attributes | |
| ULDOMErrorCode | code |
| The kind of error. | |
| ULString | message |
| A description of the error (can be NULL). | |
| ULDOMErrorCode code |
The kind of error.
| ULString message |
A description of the error (can be NULL).