brianlmoon / net_gearman

A PHP interface for Gearman
84 stars 46 forks source link

Better compatibility in exceptions. #16

Closed j03k64 closed 10 years ago

j03k64 commented 10 years ago

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.