| 11 | |
| 12 | #[derive(Debug)] |
| 13 | pub enum Error { |
| 14 | ParseError(std::num::ParseIntError), |
| 15 | MissingParameters, |
| 16 | WrongPassword, |
| 17 | CannotDecryptToken, |
| 18 | Unauthorized, |
| 19 | ArgonLibraryError(ArgonError), |
| 20 | DatabaseQueryError(sqlx::Error), |
| 21 | ReqwestAPIError(ReqwestError), |
| 22 | MiddlewareReqwestAPIError(MiddlewareReqwestError), |
| 23 | ClientError(APILayerError), |
| 24 | ServerError(APILayerError), |
| 25 | } |
| 26 | |
| 27 | #[derive(Debug, Clone)] |
| 28 | pub struct APILayerError { |
nothing calls this directly
no outgoing calls
no test coverage detected