https://github.com/murphsicles/thiserror
https://github.com/murphsicles/thiserror
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/murphsicles/thiserror
- Owner: murphsicles
- License: other
- Created: 2026-05-15T19:28:59.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-05-15T23:12:53.000Z (2 months ago)
- Last Synced: 2026-05-16T01:58:35.978Z (2 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @std/thiserror — Derive(Error) for Zeta
Auto-converted from [thiserror](https://crates.io/crates/thiserror) v2.0.18 via [Dark Factory](https://github.com/murphsicles/dark-factory).
Pairs with `@std/anyhow` for the complete error handling story.
```zeta
use @std/thiserror::Error;
#[derive(Error, Debug)]
enum MyError {
#[error("permission denied for user {0}")]
PermissionDenied(String),
#[error("connection timeout after {seconds}s")]
Timeout { seconds: u64 },
}
```
## License
MIT