Important: The information in this document is obsolete and should not be used for new development.
GXPostGraphicsError
You can use theGXPostGraphicsError
function to replace the current QuickDraw GX error with another error.
void GXPostGraphicsError(gxGraphicsError error);
error
- The error to be posted.
DESCRIPTION
TheGXPostGraphicsError
function replaces the QuickDraw GX error about to be posted with an error message defined by theerror
parameter. You may use the QuickDraw GX errors or define your own error number and error name. This function stores the error posted so that subsequent calls to theGXGetGraphicsError
function return the error substituted by this function.The
GXPostGraphicsError
function is available only when the debugging version is installed.SPECIAL CONSIDERATIONS
The error number must be within the range defined by QuickDraw GX. This range is bounded by error numbers -27999 through -27000, or is in the application range.SEE ALSO
The use of this function is described in the section "Changing the Error, Warning, or Notice Posted" beginning on page 3-34.Non-debugging errors that can be replaced are listed in the section "Errors" beginning on page 3-6. Non-debugging errors that can be replaced are listed in the section "Errors" beginning on page 3-6.