19 Determining Whether an Error Is Fatal
Q3Error_IsFatalError
function to determine whether an error is fatal.
TQ3Boolean Q3Error_IsFatalError (TQ3Error error);
error
A code that indicates the type of error that has occurred.
Q3Error_IsFatalError
function returns, as its function result, a Boolean value that indicates whether the error value specified by the error
parameter is a fatal error (kQ3True
) or is not a fatal error (kQ3False
). You can call Q3Error_IsFatalError
from within an error-handling method or after having called Q3Error_Get
to get an error directly. If Q3Error_IsFatalError
returns kQ3True
, you should not call any other QuickDraw3D routines. QuickDraw3D executes a long jump when it encounters a fatal error; your application should terminate.Currently, QuickDraw3D recognizes these errors as fatal:
kQ3ErrorInternalError kQ3ErrorNoRecovery
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker