Registry / utility / nu-errors

nu-errors

JSON →
library0.44.0rscratesunverified

Core error subsystem for Nushell, providing error types and handling utilities.

# Cargo.toml [dependencies] nu-errors = "0.44.0"
INSTALL
IMPORT
SIG · NU-ERRORS
N
nu-errors
utilityrustv0.44.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ShellError
use nu_errors::ShellError;

Creates and returns a runtime error using ShellError.

use nu_errors::ShellError; fn example() -> Result<(), ShellError> { Err(ShellError::untagged_runtime_error("example error")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.44.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
nu-errors — cargo add nu-errors · libregistry