Since the base Exception class uses an int for the second parameter, I just included the err_text as part of the error message so that it doesn't matter if Net_Gearman_Exception extends PEAR_Exception or not. This was the only a couple places doing it this way.
Since the base Exception class uses an int for the second parameter, I just included the err_text as part of the error message so that it doesn't matter if Net_Gearman_Exception extends PEAR_Exception or not. This was the only a couple places doing it this way.