Skip to content

Runtime Errors

Aarik Pokras edited this page Dec 29, 2024 · 2 revisions

CxL will throw runtime errors at runtime. They will return this runtime code from a function. From a function that returns a str, a runtime error will return RT#, and from a function returning a num, it will return #, # replacing the number of the runtime error.

Codes

Here are the codes for the runtime errors:

Code Case Module Struct/Function
35 Command injection safeguard shell move_file
21 Type not checked when accessing any value through member functions num_value and str_value io any::num_value/any::str_value
Clone this wiki locally