pub enum RexxError {
Show 39 variants
Halt,
ResourceExhausted,
UnmatchedComment,
ExpectedWhenOtherwise,
UnexpectedThenElse,
UnexpectedWhenOtherwise,
UnexpectedEnd,
InvalidCharacter,
IncompleteBlock,
InvalidHexBinary,
LabelNotFound,
UnexpectedProcedure,
ExpectedThen,
ExpectedStringOrSymbol,
ExpectedSymbol,
InvalidDataOnEnd,
InvalidTrace,
InvalidSubKeyword,
InvalidWholeNumber,
InvalidDoSyntax,
InvalidLeaveIterate,
EnvironmentNameTooLong,
NameTooLong,
InvalidName,
InvalidExpressionResult,
InvalidLogicalValue,
InvalidExpression,
UnmatchedParen,
UnexpectedCommaOrParen,
InvalidTemplate,
IncorrectCall,
BadArithmetic,
ArithmeticOverflow,
RoutineNotFound,
NoReturnData,
NoReturnValue,
InvalidVariableRef,
SystemFailure,
InterpretationError,
}Expand description
REXX error numbers per ANSI X3.274-1996 §A. Not all are used initially but the numbering must be correct.
Variants§
Halt
4 — Program interrupted (HALT condition)
ResourceExhausted
5 — System resources exhausted
UnmatchedComment
6 — Unmatched /*
ExpectedWhenOtherwise
7 — WHEN or OTHERWISE expected
UnexpectedThenElse
8 — Unexpected THEN or ELSE
UnexpectedWhenOtherwise
9 — Unexpected WHEN or OTHERWISE
UnexpectedEnd
10 — Unexpected or unmatched END
InvalidCharacter
13 — Invalid character in program
IncompleteBlock
14 — Incomplete DO/SELECT/IF
InvalidHexBinary
15 — Invalid hexadecimal or binary string
LabelNotFound
16 — Label not found (SIGNAL target)
UnexpectedProcedure
17 — Unexpected PROCEDURE
ExpectedThen
18 — THEN expected
ExpectedStringOrSymbol
19 — String or symbol expected
ExpectedSymbol
20 — Symbol expected
InvalidDataOnEnd
21 — Invalid data on end of clause
InvalidTrace
24 — Invalid TRACE request
InvalidSubKeyword
25 — Invalid sub-keyword found
InvalidWholeNumber
26 — Invalid whole number
InvalidDoSyntax
27 — Invalid DO syntax
InvalidLeaveIterate
28 — Invalid LEAVE or ITERATE
EnvironmentNameTooLong
29 — Environment name too long
NameTooLong
30 — Name or string too long
InvalidName
31 — Name starts with number or “.”
InvalidExpressionResult
33 — Invalid expression result
InvalidLogicalValue
34 — Logical value not 0 or 1
InvalidExpression
35 — Invalid expression
UnmatchedParen
36 — Unmatched “(” in expression
UnexpectedCommaOrParen
37 — Unexpected “,” or “)”
InvalidTemplate
38 — Invalid template or pattern
IncorrectCall
40 — Incorrect call to routine
BadArithmetic
41 — Bad arithmetic conversion
ArithmeticOverflow
42 — Arithmetic overflow/underflow
RoutineNotFound
43 — Routine not found
NoReturnData
44 — Function did not return data
NoReturnValue
45 — No data specified on function RETURN
InvalidVariableRef
46 — Invalid variable reference
SystemFailure
48 — Failure in system service
InterpretationError
49 — Interpretation error (INTERPRET issues)