61 Implementing std::error::Error trait for error types
This pull request adds implementations of the std::error::Error trait for several error types within the project. The goal of these implementations is to make the error types compatible with the standard library's error handling mechanisms, facilitating interoperability with other Rust libraries and providing a consistent error handling experience for developers using this project.
Changes:
Implemented std::error::Error trait for ServerError, ServerBodyError, ServerOtherBodyError, ServerValidationBodyError, and Error types.
Provided meaningful Display implementations for error types to improve error message clarity.
If you don't like anything you can write me and I can work on themn.
61 Implementing std::error::Error trait for error types
This pull request adds implementations of the std::error::Error trait for several error types within the project. The goal of these implementations is to make the error types compatible with the standard library's error handling mechanisms, facilitating interoperability with other Rust libraries and providing a consistent error handling experience for developers using this project.
Changes:
ServerError
,ServerBodyError
,ServerOtherBodyError
,ServerValidationBodyError
, andError
types.Display
implementations for error types to improve error message clarity.If you don't like anything you can write me and I can work on themn.