Perl: Exception Classes 

An exception is a string beginning with either CommunicationError or RepManServError .

RepManServError: 25011 SQL error -3005 = Invalid SQL Statement

Example of use in a script:

eval {$session->cmd ('complete nonsense;') };
if ($@) { print " command failed: $@\n"; }

Print output:

command failed: RepManServError: 25011 SQL error -3005 = Invalid SQL Statement