Adding nu_errors library as a dependency
Run this command in a terminal, in your project's directory:
cargo add nu-errors
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
nu-errors = "0.44.0"
The nu_errors library will be automatically available globally.
Read the nu_errors library documentation.