Errors¶
Keel aims to have pretty & helpful error messages. Right now, they're not very helpful...
fn main() {
print(x)
}
-- OUTPUT --
KEEL ERROR
Error:
╭─[ test.kl:3:1 ]
│
3 │ }
│ ┬
│ ╰── Expected SemiColon, but got '}'. Lines must end with a ';'.
───╯
List of catchable errors¶
Misc¶
division_by_zeromodulo_by_zeroindex_out_of_boundsslice_out_of_boundsunknown_map_key
Runtime parsing¶
invalid_floatinvalid_intinvalid_bool
File system¶
fs_already_existsfs_deadlockfs_file_too_largefs_interruptedfs_invalid_datafs_invalid_filenamefs_is_a_directoryfs_not_a_directoryfs_not_foundfs_permission_deniedfs_out_of_memoryfs_read_only_filesystemfs_storage_fullfs_timed_out
FFI¶
null_byte_in_stringc_array_return_type_not_supportedinvalid_return_type