SLC - Error System
Last updated
Last updated
The SLC error system works only by working with the engine's internal code environment and does not count inline builds within SkyLine projects. The engine has a nice decent and minimalist error system layout and it has its own unique code system for each error and type of error.
As of version 0.0.1 of SLC the following code list describes errors within the engine that you can get for syntactic mistakes.
10
File is empty and unsafe to run
The file has no loadable engine symbols or functions to load and the interpreter refuses to run the file
20
Missing ENGINE unit symbol
Before INIT blocks are declared, you must call ENGINE(true) or ENGINE(false) to declare unusable blocks
30
Could not load file
Engine could not load file due to so and so error
200
Missing closing UNIT bracket
Missing a left facing brace '}'
205
Missing OPENING UNIT bracket
Missing a right facing brace '{'
210
Missing open expression
Missing a right facing parenthesis ')'
215
Missing END expression
Missing token - left facing parenthesis ')'
220
Missing semicolon, unterminated statement or expression
Missing token - ';'
225
Engine -> INIT should only contain one DEFINED call
More than one INIT under each engine block is illegal
230
UNTERMINATED INITATION
Missing semicolon after INIT symbol ';'
235
INTEGER OVERFLOW
Integer value was too large to fit into an integer64 data type - OVERFLOW
240
Dev ( No prefix, infix, ... ) function found
Internal development error or no prefix function or parser function has been found
245
Unterminated constant
Missing token - ';' at the end of const/constant statement
250
When looking for the next token, failed to grab token 'token'
When looking or peeking for the next required tokens, expected so and so token but got so and so token
300
Unknown operator
Unknown token for operator selection
310
False data type mix
Data type operation ( left data type ) + (operator) + ( right data type ) is not supported or does not exist - TYPE MISMATCH
320
Identifier not found
Unknown identifier
330
Array index expression returned false, does not exist
Array index expression has failed
340
Call is not a function
For function types built in, basically says that what you are trying to call as a builtin function does not exist
350
Illegal modification of environmental non fluid variable
Attempted to modify a constant value or variable
360
ENGINE - CORE DUMP
Segmentation fault