Return to homepage

DOSATO

Copyright © 2024 Sebastiaan Heins

4.3 Errors 31-40

E31: E_EXPECTED_STRING

Import and include want a string literal.

import 0 // expected string

E32: E_TOO_MANY_INCLUDES

Too many includes. Often because of a circular include.

E33: E_UNDEFINED_VARIABLE

Variable is not defined.

E34: E_ALREADY_DEFINED_VARIABLE

Variable is already defined.

make int a = 0
make int a = 1 // already defined

E35: E_NOT_AN_ARRAY

Variable is not an array where an array is expected.

E36: E_NOT_AN_OBJECT

Variable is not an object where an object is expected.

E37: E_INDEX_OUT_OF_BOUNDS

Index of array is out of bounds.

E38: E_INVALID_KEY_TYPE

The type of a object key must be a string.

E39: E_KEY_ALREADY_DEFINED

Key in object is already defined.

E40: E_KEY_NOT_FOUND

Value at key in object is not found.