WandGetExceptionType
WandGetExceptionType -- returns the numerical type of any wand/PixelIterator error
Description
int WandGetExceptionType( AnyWand wand )
Returns the numerical type of errors / exceptions that occur when using other methods in the API. The value returned will be equivalent to one of the ExceptionType constants defined by the MagickWand API. If there was no error present, MW_UndefinedException is returned. The "AnyWand" type does NOT exist. It is used above to indicate that any wand (DrawingWand, MagickWand, PixelWand) or PixelIterator resource can be used as an argument to this function.
A description of each parameter follows:
| wand | Any wand/PixelIterator resource |