Registry / utility / tc-error

tc-error

JSON →
library0.13.1rscratesunverified

TinyChain's generic error struct.

# Cargo.toml [dependencies] tc-error = "0.13.1"
INSTALL
IMPORT
SIG · TC-ERROR
T
tc-error
utilityrustv0.13.1
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.

TCError
use tc_error::TCError;

Create a new TCError with a message.

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

No known issues recorded.

Upgrade
Version history
0.13.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
tc-error — cargo add tc-error · libregistry