Skip to content
ricardoboss edited this page Nov 16, 2023 · 3 revisions

STEP Errors

When working with STEP, you may encounter errors. This page lists all errors.

Format

All errors listed here have their own page. The page describes the error using an example and provides possible solutions in the form of a diff.

A diff or patch looks like this:

- This line was removed
+ This line was added

Error codes

Interpreter Errors (INTxxx)

Code Description
INT001 Undefined Identifier Exception
INT002 Invalid Argument Count Exception
INT003 Invalid Expression Type Exception
INT004 Index Out Of Bounds Exception

Import Errors (IMPxxx)

Code Description
IMP001 Imported File Does Not Exist Exception
IMP002 Imported File Is Self Exception

Type Errors (TYPxxx)

Code Description
TYP001 Invalid Variable Assignment Exception
TYP002 Incompatible Expression Operands Exception
TYP003 Invalid Argument Type Exception
TYP004 Invalid Result Type Exception
TYP005 Variable Already Declared Exception

Parser Errors (PARxxx)

Code Description
PAR001 Unexpected Token Exception
PAR002 Unexpected End Of Tokens Exception
PAR003 Missing Expression Exception
PAR004 Invalid Index Operator Exception

Tokenizer Errors (TOKxxx)

Code Description
TOK001 Invalid Identifier Exception
TOK002 Unterminated String Exception
Clone this wiki locally