For some debugging, cleaning and translating of errors from server
(mainly translating to create foolproof system) i need to know is it
possible to got custom error when i need it or i have to register thousands
after thousands domains in test system  hoping to catch it ?
I need errors generated by server for sub_register in that part of code

else {

     $status .= "Registration attempt for $domain failed:
$register_results{_response_text}.";

     if ($register_results{error}) {
  $register_results{error} =~ s/\n/<br>\n/g;
  $status .= " $register_results{error}";
     }

As i understand {_response_text} coming from OpenSRS.pm and can be easily
translated there.
Now about {error}. One error i know - Domain taken, but is there any other
possible verbal errors ? And one more question about that part of sub.
I seems like in {error} can be few lines with \n, but how and when i can get
all of them ?

Regards
Sergei Kolodka


Reply via email to