đ err-rs: Error Level Management
Welcome to err-rs! This library provides a simple and efficient way to categorize and handle different levels of errors in your applications.
đ ī¸ Features
- Error Levels: Define and categorize error severity with the
ErrorLevel
enum. - Trait for Error Level Providers: Implement the
ErrorLevelProvider
trait to easily retrieve error levels. - Utility Function: Use
most_severe_error
to determine the highest severity from a slice of error levels.
đĻ Error Levels
The ErrorLevel
enum provides three levels of error severity:
đĄ Usage
To use the library, implement the ErrorLevelProvider
trait in your structs or enums:
đ Getting Started
To include err-rs in your project, add the following to your Cargo.toml
:
[]
= "0.0.3"
đ License
This project is licensed under the MIT License - see the LICENSE file for details.