Error Index

Every diagnostic the Ellie compiler can emit. Placeholders like $token are filled in with your code at compile time.

67 errors 7 warnings
ExperimentalFeature ImportError OverflowError ParserError ReferenceError RuntimeError RuntimeRestriction SyntaxError TypeError UnfinishedFeature UnimplementedFeature

Errors

Code Type Message Fix
0x00 SyntaxError Unexpected Token '$token'
0x01 SyntaxError Expected return type
0x02 ReferenceError Expected '$token1' found '$token2'
0x03 ReferenceError Setter '$token' is not found in the scope
0x04 SyntaxError Unknown escape character '$token'
0x05 ReferenceError '$token' is not defined
0x06 ReferenceError $name requires '$token' parameters, found '$token2' parameters
0x07 ReferenceError Expected type annotations
0x08 ReferenceError Static type expected
0x09 TypeError Duplicate parameter assist
0x10 TypeError '$token' is not suitable for to be constructed
0x11 SyntaxError Setters must have 1 parameter
0x12 SyntaxError '$token' and '$token1' has incompatible type returns
0x13 TypeError Setters cannot return data
0x14 TypeError Cannot invoke class without new
0x15 OverflowError The value '$val' cannot fit to integer
0x16 OverflowError The value '$val' has infinite size
0x17 TypeError Cannot assign a value to constant variable
0x18 OverflowError Fixed size exceeded: expected '$token' elements, got '$token2' elements
0x19 TypeError Negative number is not allowed on '$token'
0x20 SyntaxError Reserved keyword '$token'
0x21 SyntaxError Unexpected item
0x22 ReferenceError Getter '$token' is not found in the scope
0x23 ReferenceError '$token' is already defined
0x24 TypeError '$token' is not a function
0x25 SyntaxError Unexpected ending
0x26 TypeError Un-Assignable type
0x27 ImportError Cannot resolve '$token' module
0x28 TypeError Supplied data '$token' is not iterable
0x29 TypeError Class can only have one constructor
0x30 TypeError '$token' is not a constructable
0x31 ImportError $token
0x32 RuntimeError Main function required
0x33 TypeError '$token' is not found in constructor properties, try to initialize with a value.
0x34 SyntaxError Cannot add a new parameter after multiple parameter
0x35 SyntaxError '$token' cannot be used as collective parameter
0x36 SyntaxError '$token' cannot be used as reference pointer
0x37 ReferenceError '$token' required in scope
0x38 ReferenceError Cannot define built-in types
0x39 ParserError Parser messages value can only be string, but found '$token'
0x40 UnimplementedFeature $token
0x41 SyntaxError Getter '$token' is not found in '$token1' properties
0x42 TypeError Invalid left-hand side in assignment
0x43 ReferenceError Targeted class requires '$token' generic parameters, found '$token2' generic parameters
0x44 ReferenceError '$token' is not a type
0x45 ReferenceError Referenced type does not implement 'as' convertor
0x46 RuntimeRestriction $token
0x47 ReferenceError '$token' does not implement index queries
0x48 ReferenceError Cannot query index to '$target' with '$token'
0x49 TypeError Unimplemented type conversion '$target' to '$type'
0x50 TypeError Cannot resolve non nullAble foreign type auto-fix
0x51 TypeError '$opType' not implemented in '$target' for '$value'
0x52 SyntaxError $opType is not chainable
0x53 SyntaxError Char can only take one character assist
0x54 TypeError Consider giving a type to this
0x55 TypeError Cannot assign file key to this element assist
0x56 TypeError Unassigned file keys assist
0x57 ExperimentalFeature Usage of '$token' is experimental, use '--experiental-feature' flag to use it assist
0x58 UnfinishedFeature Usage of '$token' is forbidden for now assist
0x59 ReferenceError Cannot use non-static variables here, use const instead assist
0x60 ReferenceError Cannot access variable from this scope assist
0x61 ReferenceError Cannot use variables with value here, use const or constructor to build them assist
0x62 ReferenceError '$token' is not suitable for to be constructor parameter assist
0x63 ReferenceError Generic '$token' should've been used in constructor. assist
0x64 ReferenceError Unsafe variable definition auto-fix
0x65 ReferenceError Cannot apply unary operator
0x66 ReferenceError Wrong main function signature, expected 'fn main() -> void'

Warnings

Code Type Message Fix
0x00 ClassNameRule Class names should be low camel case. Found '$current', expected '$correct' assist
0x01 VariableNameRule Variable names should be low camel case. Found '$current', expected '$correct' assist
0x02 FunctionParameterNameRule Function parameter names names should be low camel case. Found '$current', expected '$correct' assist
0x03 DeadCode This stage of code is unreachable auto-fix
0x04 FunctionNameRule Function names should be low camel case. Found '$current', expected '$correct' assist
0x05 EnumNameRule Enum names should be low camel case. Found '$current', expected '$correct' assist
0x06 EnumItemNameRule Enum item's names should be low camel case. Found '$current', expected '$correct' assist