Q3MacintoshError_Get
You can use theQ3MacintoshError_Getfunction to get the most recent and the oldest unreported error generated by the Macintosh Operating System.
OSErr Q3MacintoshError_Get (OSErr *firstMacErr);
firstMacErr- On exit, the first unreported error from a Macintosh system software routine.
DESCRIPTION
TheQ3MacintoshError_Getfunction returns, as its function result, the most recent error generated by the Macintosh system software.Q3MacintoshError_Getalso returns, in thefirstMacErrparameter, the first unreported error that occurred during a Macintosh system software routine.