Module shared::error

source ·
Expand description

This module contains the error handling code for the interpreter. It provides the Error struct, which is used to represent errors that occur during execution.

Structs§

  • The Error struct is used to represent errors that occur during execution. It contains a message and a kind, which is used to categorise the error.

Enums§

  • The ErrorKind enum is used to sort errors into different types. This allows error handling code to exhibit different behavior based on the kind of error.