src/HSLib/GenOp.cc
/*      Input               Op      : General operator (this)
                            eidx    : Error index
                            noret   : Flag for linefeed (0=linefeed)
                            pname   : string in message
        Output              none    : Error message output
                                      Program execution stopped if fatal

The following error messages use the defaults set in the Gutils package
 
               Case                          Error Message
 
 NO PNAME       (0)                     Program Aborting.....
    		(9)                     Problems During Construction
                default                 Unknown Error 
 WITH PNAME     (1)                     Problems With File PNAME
                (2)                     Cannot Read Parameter PNAME
    		(3)  			Invalid Use Of Function PNAME
                default                 Unknown Error - PNAME                */


The following error messages use the defaults set in the Gutils package

Case                          Error Message

NO PNAME       (0)                     Program Aborting
(9)                     Problems During Construction
default                 Unknown Error
WITH PNAME     (1)                     Problems With File PNAME
(2)                     Cannot Read Parameter PNAME
(3)                     Invalid Use Of Function PNAME
default                 Unknown Error - PNAME
The following error messages use the defaults set in the Gutils package Case Error Message NO PNAME ( 0 ) Program Aborting ( 9 ) Problems During Construction default Unknown Error WITH PNAME ( 1 ) Problems With File PNAME ( 2 ) Cannot Read Parameter PNAME ( 3 ) Invalid Use Of Function PNAME default Unknown Error - PNAME
void gen_op::GenOperror(int eidx, int noret) const
  {
  std::string hdr("General Operator");
  std::string msg;
  switch (eidx)
    {
    case 6:  GAMMAerror(hdr,"Bad Internal Component Access",noret);break;
    case 7:  GAMMAerror(hdr,"Accessing Empty Operator",noret);    break;
    case 20: GAMMAerror(hdr,"Unable To Perform Addition",noret);  break;
    case 21: GAMMAerror(hdr,"Cannot Perform Subtraction",noret);  break;
    case 22: GAMMAerror(hdr,"Unable To Do Multiplication",noret); break;
    case 39: GAMMAerror(hdr,"Bad Matrix/Basis Mixing",noret);     break;
    case 40: GAMMAerror(hdr,"Trouble Mixing Two Operators",noret);break;
    case 41: GAMMAerror(hdr,"Trouble Mixing With Matrix",noret);  break;
    case 42: GAMMAerror(hdr,"Problems During Assignment",noret);  break;
    case 50: GAMMAerror(hdr,"Rectangular Array Use",noret);       break;
    case 51: GAMMAerror(hdr,"Mixing Mismatched Dimensions",noret);break;
    case 56: GAMMAerror(hdr,"Element Access Out Of Range",noret); break;
    case 57: GAMMAerror(hdr,"Min. Representations Limit 3",noret);break;
    case 67: GAMMAerror(hdr,"Cannot Access Element",noret);       break;
    case 77: GAMMAerror(hdr,"Problems Setting Basis",noret);      break;
    case 92: GAMMAerror(hdr,"Representation Sizes Differ",noret); break;
    default: GAMMAerror(hdr, eidx, noret); break;
    }
  }
void gen_op :: GenOperror ( int eidx , int noret ) const { std :: string hdr ( " " ) ; std :: string msg ; switch ( eidx ) { case 6 : GAMMAerror ( hdr , " " , noret ) ; break ; case 7 : GAMMAerror ( hdr , " " , noret ) ; break ; case 20 : GAMMAerror ( hdr , " " , noret ) ; break ; case 21 : GAMMAerror ( hdr , " " , noret ) ; break ; case 22 : GAMMAerror ( hdr , " " , noret ) ; break ; case 39 : GAMMAerror ( hdr , " " , noret ) ; break ; case 40 : GAMMAerror ( hdr , " " , noret ) ; break ; case 41 : GAMMAerror ( hdr , " " , noret ) ; break ; case 42 : GAMMAerror ( hdr , " " , noret ) ; break ; case 50 : GAMMAerror ( hdr , " " , noret ) ; break ; case 51 : GAMMAerror ( hdr , " " , noret ) ; break ; case 56 : GAMMAerror ( hdr , " " , noret ) ; break ; case 57 : GAMMAerror ( hdr , " " , noret ) ; break ; case 67 : GAMMAerror ( hdr , " " , noret ) ; break ; case 77 : GAMMAerror ( hdr , " " , noret ) ; break ; case 92 : GAMMAerror ( hdr , " " , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
Input               Op      : General operator (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
pname   : string in message
Output              none    : Error message output
Program execution stopped if fatal
Input Op : General operator ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) pname : string in message Output none : Error message output Program execution stopped if fatal
//(6) // (7) // (20) // (21) // (22) // (39) // (40) // (41) // (42) // (50) // (51) // (56) // (57) // (67) // (77) // (92) // Usually Unknown Error  (-1)