mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-07 20:46:24 +02:00
add from serde_json error to enum
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
6aeeb40200
commit
9bc643feba
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ pub enum Error {
|
||||||
#[error("Join error: {0}")]
|
#[error("Join error: {0}")]
|
||||||
JoinError(#[from] tokio::task::JoinError),
|
JoinError(#[from] tokio::task::JoinError),
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
|
Json(#[from] serde_json::Error),
|
||||||
|
#[error(transparent)]
|
||||||
Path(#[from] axum::extract::rejection::PathRejection),
|
Path(#[from] axum::extract::rejection::PathRejection),
|
||||||
#[error("Regex error: {0}")]
|
#[error("Regex error: {0}")]
|
||||||
Regex(#[from] regex::Error),
|
Regex(#[from] regex::Error),
|
||||||
|
|
Loading…
Add table
Reference in a new issue