Better json errors
This commit is contained in:
parent
c4b4f13fa6
commit
261e52e551
@ -33,7 +33,7 @@ pub enum MyError {
|
|||||||
#[error("Couldn't sign string, {0}")]
|
#[error("Couldn't sign string, {0}")]
|
||||||
Rsa(rsa::errors::Error),
|
Rsa(rsa::errors::Error),
|
||||||
|
|
||||||
#[error("Couldn't do the json thing")]
|
#[error("Couldn't do the json thing, {0}")]
|
||||||
Json(#[from] serde_json::Error),
|
Json(#[from] serde_json::Error),
|
||||||
|
|
||||||
#[error("Couldn't build signing string, {0}")]
|
#[error("Couldn't build signing string, {0}")]
|
||||||
|
Loading…
Reference in New Issue
Block a user