DrawGetException
DrawGetException -- returns the description and type of a DrawingWand error
Description
array DrawGetException( DrawingWand drw_wnd )
Returns an array containing the severity and description of errors /
exceptions that occur when using other DrawingWand methods in the API.
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:
| drw_wnd | A DrawingWand resource |