Documentation ¶
Overview ¶
Package errors is dedicated to hold the error numbers and description of each knowen error in Serene
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorsDescription map[Errno]string = map[Errno]string{ E0000: `Can't find any description for this error.`, E0001: ` Namespaces are fundamental units in Serene. Each file has to start with a namespace declaration with a name that matches the path of the file. For example imagine haivng a file with the following path '/home/user/xyz/src/example/abc.srn' and '/home/user/xyz/src' is in the load path. The namespace path to the file would be 'example.abc' so that file has to contain a 'ns' form as the first expression with 'example.abc' as the name just like: (ns example.abc) ...rest of the file... Since comments are not expressions it's ok to start a file by comments followed by the 'ns' form`, E0002: ` Functions expect a certain number of argument. The number of arguments that you're passing to the function doesn't match with it's signature. To fix the problem double check the function signature and make sure that you're passing the correct number of arguments to it`, E0003: ` Do you have a typo ? Or did you forget to define a symbol that you're trying to evaluate ? This error happens when the symbol that you're trying to evaluate is not associated with any value in the current scope tree. `, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.