docs
Loading...
Searching...
No Matches
ULDOMError

#include <Ultralight/CAPI/CAPI_DOMDocument.h>

Overview

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).

Note
If message isn't NULL, you own it and must call ulDestroyString() when finished.

Public Attributes

ULDOMErrorCode code
 The kind of error.
ULString message
 A description of the error (can be NULL).

Member Data Documentation

◆ code

The kind of error.

◆ message

ULString message

A description of the error (can be NULL).


The documentation for this struct was generated from the following file: