1SNOBOL4ERROR(1) CSNOBOL4 Manual SNOBOL4ERROR(1)
2
3
4
6 snobol4error - SNOBOL4 error codes
7
9 SNOBOL4 &ERRTYPE and &ERRTEXT values.
10
11 Errors not marked (fatal) or (fatal-) cannot be caught/ignored by
12 setting &ERRLIMIT. Errors marked (fatal-) can be caught by SETEXIT by
13 setting both &ERRLIMIT and &FATALLIMIT, but cannot be CONTINUEd
14 (extension added in CSNOBOL4 2.1.6).
15
16 1 “Illegal data type”
17
18 2 “Error in arithmetic operation”
19
20 3 “Erroneous array or table reference”
21
22 4 “Null string in illegal context”
23
24 5 “Undefined function or operation”
25
26 6 “Erroneous prototype”
27
28 7 “Unknown keyword”
29
30 8 “Variable not present where required”
31
32 9 “Entry point of function not label”
33
34 10 “Illegal argument to primitive function”
35
36 11 “Reading error”
37
38 12 “Illegal i/o unit”
39
40 13 “Limit on defined data types exceeded”
41
42 14 “Negative number in illegal context”
43
44 15 “String overflow”
45
46 16 “Overflow during pattern matching” (fatal).
47
48 See the -P option in snobol4cmd(1).
49
50 17 “Error in SNOBOL4 system” (fatal).
51
52 Various internal errors.
53
54 18 “Return from level zero” (fatal).
55
56 19 “Failure during goto evaluation” (fatal-).
57
58 20 “Insufficient storage to continue” (fatal).
59
60 See the -d option in snobol4cmd(1).
61
62 21 “Stack overflow” (fatal).
63
64 See the -S option in snobol4cmd(1).
65
66 22 “Limit on statement execution exceeded” (fatal).
67
68 23 “Object exceeds size limit” (fatal).
69
70 24 “Undefined or erroneous goto” (fatal-).
71
72 25 “Incorrect number of arguments” (fatal-).
73
74 26 “Limit on compilation errors exceeded” (fatal).
75
76 27 “Erroneous END statement” (fatal).
77
78 28 “Execution of statement with compilation error” (fatal). Last
79 error in standard SNOBOL4.
80
81 29 “Erroneous INCLUDE statement” (fatal).
82
83 30 “Cannot open INCLUDE file” (fatal).
84
85 31 “Erroneous LINE statement” (fatal).
86
87 32 “Missing END statement” (fatal).
88
89 33 “Output error”
90
91 34 “User interrupt”
92
93 Interrupt character (SIGINT) was recieved.
94
95 35 “Not in a SETEXIT handler” (fatal-).
96
97 Attempt to branch to CONTINUE, SCONTINUE, or ABORT when no
98 unhandled error condition present
99
100 36 “Error in BLOCKS” (fatal).
101
102 Internal error.
103
104 37 “Too many warnings in BLOCKS” (fatal).
105
106 38 “Mystery error in BLOCKS” (fatal).
107
108 Undocumented internal error.
109
110 39 “Cannot CONTINUE from FATAL error” (fatal).
111
112 Attempt to branch to CONTINUE or SCONTINUE after a fatal- error
113 condition.
114
116 snobol4(1).
117
118
119
120CSNOBOL4B 2.3.1 March 31, 2022 SNOBOL4ERROR(1)