Ensure that the variable contains a PEAR_Error and fail if it does not. Optionally compare the error message with the provided message and fail if both do not match.
Ensure that the variable contains a PEAR_Error and fail if it does not. Optionally compare the error message with the provided message and fail if both do not match.
Ensure that the variable contains no PEAR_Error and fail if it does.
Ensure that the variable contains no PEAR_Error and fail if it does.