Skip to main content

Module error

Module error 

Source
Expand description

Errors raised while executing Cove code.

A RuntimeError is a broken invariant, an ungranted capability, or a limit the host imposed. Ordinary expected failure uses Result inside the language instead.

Which of the three it is travels with the error, so that a run that ends with one can say so in its trace without reading its message back.

Structs§

RuntimeError

Constants§

MAX_CALL_CHAIN
How many call-site spans RuntimeError::with_chain keeps, innermost first.