Registry / utility / simple-error

simple-error

JSON →
library0.3.2rscratesunverified

A simple error type backed by a string for basic error handling.

# Cargo.toml [dependencies] simple-error = "0.3.2"
INSTALL
IMPORT
SIG · SIMPLE-ERROR
S
simple-error
utilityrustv0.3.2
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.

SimpleError
use simple_error::SimpleError;

Creates and prints a simple error.

use simple_error::SimpleError; fn main() { let err = SimpleError::new("something went wrong"); println!("Error: {}", err); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
simple-error — cargo add simple-error · libregistry