1 /* 2 * Exceptions thrown by the interpreter 3 */ 4 char exAlt[] = "alt send/recv on same chan"; 5 char exBusy[] = "channel busy"; 6 char exModule[] = "module not loaded"; 7 char exCompile[] = "compile failed"; 8 char exCrange[] = "constant range "; 9 char exCctovflw[] = "constant table overflow"; 10 char exCphase[] = "compiler phase error"; 11 char exType[] = "type not constructed correctly"; 12 char exZdiv[] = "zero divide"; 13 char exHeap[] = "out of memory: heap"; 14 char exImage[] = "out of memory: image"; 15 char exItype[] = "inconsistent type"; 16 char exMathia[] = "invalid math argument"; 17 char exBounds[] = "array bounds error"; 18 char exNegsize[] = "negative array size"; 19 char exNomem[] = "out of memory: main"; 20 char exSpawn[] = "spawn a builtin module"; 21 char exOp[] = "illegal dis instruction"; 22 char exTcheck[] = "type check"; 23 char exInval[] = "invalid argument"; 24 char exNilref[] = "dereference of nil"; 25 char exRange[] = "value out of range"; 26