Prev
MagickWand For PHP
Manual


Next

WandGetException

WandGetException -- returns the description and type of any wand/PixelIterator error

Description

array WandGetException( AnyWand wand )

Returns an array containing the severity and description of errors / exceptions that occur when using other methods in the API. 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. The returned array is defined as follows: Array { [0] => (ExceptionType) type: The (ErrorType constant) type of the error / exception. If no error has occurred, type == MW_UndefinedException. [1] => (string) description: The error description (if no error, description == '') }


A description of each parameter follows:

wand Any wand/PixelIterator resource


Prev
PushDrawingWand
Up Next
WandGetExceptionString