3 unstable releases

Uses new Rust 2024

new 0.1.1 May 9, 2025
0.1.0 May 9, 2025
0.0.0 May 8, 2025

#220 in Configuration

27 downloads per month
Used in 4 crates (via clientele)

Unlicense

19KB
305 lines

Known Errors

License Compatibility Package Documentation

Well-known errors for Rust.

✨ Features

  • Supports opting out of any feature using comprehensive feature flags.
  • Adheres to the Rust API Guidelines in its naming conventions.
  • 100% free and unencumbered public domain software.

🛠️ Prerequisites

  • Rust 1.85+ (2024 edition)

⬇️ Installation

Installation via Cargo

cargo add known-errors

Installation in Cargo.toml (with all features enabled)

[dependencies]
known-errors = "0.1"

Installation in Cargo.toml (with only specific features enabled)

[dependencies]
known-errors = { version = "0.1", default-features = false, features = ["serde"] }

👉 Examples

Importing the library

use known_errors;

📚 Reference

https://docs.rs/known-errors/

👨‍💻 Development

git clone https://github.com/known-facts/known-errors.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

Dependencies

~0–6MB
~26K SLoC