1 /********** 2 Copyright 1990 Regents of the University of California. All rights reserved. 3 Author: 1985 Thomas L. Quarles 4 **********/ 5 6 #ifndef ERRORS 7 #define ERRORS 8 9 #include "iferrmsg.h" 10 #include <string.h> 11 /* 12 * definitions for error codes returned by SPICE3 routines. 13 */ 14 15 #define E_INTERN E_PANIC 16 #define E_BADMATRIX (E_PRIVATE+1) /* ill-formed matrix can't be decomposed */ 17 #define E_SINGULAR (E_PRIVATE+2) /* matrix is singular */ 18 #define E_ITERLIM (E_PRIVATE+3) /* iteration limit reached,operation aborted */ 19 #define E_ORDER (E_PRIVATE+4) /* integration order not supported */ 20 #define E_METHOD (E_PRIVATE+5) /* integration method not supported */ 21 #define E_TIMESTEP (E_PRIVATE+6) /* timestep too small */ 22 #define E_XMISSIONLINE (E_PRIVATE+7) /* transmission line in pz analysis */ 23 #define E_MAGEXCEEDED (E_PRIVATE+8) /* pole-zero magnitude too large */ 24 #define E_SHORT (E_PRIVATE+9) /* pole-zero input or output shorted */ 25 #define E_INISOUT (E_PRIVATE+10) /* pole-zero input is output */ 26 #define E_ASKCURRENT (E_PRIVATE+11) /* ac currents cannot be ASKed */ 27 #define E_ASKPOWER (E_PRIVATE+12) /* ac powers cannot be ASKed */ 28 #define E_NODUNDEF (E_PRIVATE+13) /* node not defined in noise anal */ 29 #define E_NOACINPUT (E_PRIVATE+14) /* no ac input src specified for noise */ 30 #define E_NOF2SRC (E_PRIVATE+15) /* no source at F2 for IM disto analysis */ 31 #define E_NODISTO (E_PRIVATE+16) /* no distortion analysis - NODISTO defined */ 32 #define E_NONOISE (E_PRIVATE+17) /* no noise analysis - NONOISE defined */ 33 34 char *SPerror(); 35 #endif 36