known-errors

Crates.ioknown-errors
lib.rsknown-errors
version0.1.1
created_at2025-05-08 22:00:00.879213+00
updated_at2025-05-09 06:03:49.858669+00
descriptionWell-known errors.
homepagehttps://github.com/known-facts/known-errors
repositoryhttps://github.com/known-facts/known-errors
max_upload_size
id1665933
size27,741
Arto Bendiken (artob)

documentation

README

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

Commit count: 6

cargo fmt