add description to http errors

This commit is contained in:
Aleksandr 2025-10-16 18:26:53 +03:00
parent 955aa9dfc6
commit 18b827690f
4 changed files with 24 additions and 6 deletions

View file

@ -4,7 +4,7 @@ pub trait Request:
Send + Sync + 'static + for<'de> serde::Deserialize<'de> + serde::Serialize
{
type Response: IsResponse;
type Error: IsResponse;
type Error: IsResponse + std::fmt::Display;
}
eva::trait_set! {