error - ImageMagick Error Routines
MagickError(error,message,qualifier)
MagickWarning(warning,message,qualifier)
previous_handler=SetErrorHandler(handler)
previous_status=SetErrorStatus(status)
previous_handler=SetWarningHandler(handler)
A description of each parameter follows:
Specifies the message to display before terminating the program.
Specifies any qualifier to the message.
Method MagickError calls the error handler routines with an error message.
The format of the MagickError routine is:
MagickError(error,message,qualifier)
A description of each parameter follows:
Specifies the numeric error category.
Specifies the message to display before terminating the program.
Specifies any qualifier to the message.
Method MagickWarning calls the warning handler routines with an warning message.
The format of the MagickWarning routine is:
MagickWarning(warning,message,qualifier)
A description of each parameter follows:
Specifies the numeric warning category.
Specifies the message to display before terminating the program.
Specifies any qualifier to the message.
Method SetErrorHandler sets the error handler to the specified routine and returns the previous error handler.
The format of the SetErrorHandler routine is:
previous_handler=SetErrorHandler(handler)
A description of each parameter follows:
Specifies a pointer to a routine to handle errors.
Method SetErrorStatus sets the error handler status and returns the previous status.
The format of the SetErrorStatus routine is:
previous_status=SetErrorStatus(status)
A description of each parameter follows:
Method SetErrorStatus returns the current error status.
Specifies the new status value.
Method SetWarningHandler sets the warning handler to the specified routine and returns the previous warning handler.
The format of the SetWarningHandler routine is:
previous_handler=SetWarningHandler(handler)
A description of each parameter follows:
Specifies a pointer to a routine to handle warnings.