registrobr / whmcs-registrobr-epp

WHMCS Registrar Module for interfacing to Registro.br EPP
GNU General Public License v3.0
41 stars 21 forks source link

Functions that generate other error messages than PEAR are not being recognized correctly #27

Closed registrobr closed 1 year ago

registrobr commented 11 years ago

Testing showed that when a PEAR error occurs it's being detected as such, but if an internal error message is returned from _registrobr_client(), it's not.

Two ways ahead: make all error messages look like PEAR error, or devise a more general criteria, like comparing string versus object.

This affects all functions that call _registrobr_client().

registrobr commented 11 years ago

pear RaiseError of internal error message could be the best approach

registrobr commented 10 years ago

Possibly resolved after refactoring, testing needed