mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-28 15:35:36 +00:00
add from serde_json error to enum
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
efa70b9e78
commit
5db816277b
|
@ -52,6 +52,8 @@ pub enum Error {
|
|||
#[error("Join error: {0}")]
|
||||
JoinError(#[from] tokio::task::JoinError),
|
||||
#[error(transparent)]
|
||||
Json(#[from] serde_json::Error),
|
||||
#[error(transparent)]
|
||||
Path(#[from] axum::extract::rejection::PathRejection),
|
||||
#[error("Regex error: {0}")]
|
||||
Regex(#[from] regex::Error),
|
||||
|
|
Loading…
Reference in a new issue