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().
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().