# Known Errors
[](https://unlicense.org)
[](https://blog.rust-lang.org/2025/02/20/Rust-1.85.0/)
[](https://crates.io/crates/known-errors)
[](https://docs.rs/known-errors/)
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](https://rust-lang.org) 1.85+ (2024 edition)
## ⬇️ Installation
### Installation via Cargo
```bash
cargo add known-errors
```
### Installation in `Cargo.toml` (with all features enabled)
```toml
[dependencies]
known-errors = "0.1"
```
### Installation in `Cargo.toml` (with only specific features enabled)
```toml
[dependencies]
known-errors = { version = "0.1", default-features = false, features = ["serde"] }
```
## 👉 Examples
### Importing the library
```rust
use known_errors;
```
## 📚 Reference
https://docs.rs/known-errors/
## 👨💻 Development
```bash
git clone https://github.com/known-facts/known-errors.git
```
---
[](https://x.com/intent/post?url=https://github.com/known-facts/known-errors&text=Known%20Errors)
[](https://reddit.com/submit?url=https://github.com/known-facts/known-errors&title=Known%20Errors)
[](https://news.ycombinator.com/submitlink?u=https://github.com/known-facts/known-errors&t=Known%20Errors)
[](https://www.facebook.com/sharer/sharer.php?u=https://github.com/known-facts/known-errors)
[](https://www.linkedin.com/sharing/share-offsite/?url=https://github.com/known-facts/known-errors)
[feature flags]: https://github.com/known-facts/known-errors/blob/master/lib/known-errors/Cargo.toml
[naming conventions]: https://rust-lang.github.io/api-guidelines/naming.html