add description to http errors
This commit is contained in:
parent
955aa9dfc6
commit
18b827690f
4 changed files with 24 additions and 6 deletions
|
|
@ -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! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue