GrDefaultErrorHandler()

Name

GrDefaultErrorHandler() -- The default error handler

Synopsis

void GrDefaultErrorHandler ( GR_EVENT * ep );

Description

This function is the default error handler that is called if an application specific error handler is NOT installed. This function will print a text error message to stderr detailing the error that occured and the function in which the error occured. After printing the message the client application is terminated.

Note

In order to override the default behaviour, an application may define an alternative error handler. Use the GrSetErrorHandler() function to specify an alternative error handler function.

Parameters

TypeNameDescription
GR_EVENT*epA pointer to a GR_EVENT structure that contains the error that occured.

See Also

GrSetErrorHandler()