Better json errors
This commit is contained in:
		
							parent
							
								
									c4b4f13fa6
								
							
						
					
					
						commit
						261e52e551
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		
		Reference in a new issue