Add InvalidResponseError

This commit is contained in:
bitfl0wer 2023-05-28 23:04:02 +02:00
parent 2ba1e1ac84
commit 5db5a2562f
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ custom_error! {
NoPermission = "You do not have the permissions needed to perform this action.", NoPermission = "You do not have the permissions needed to perform this action.",
NotFound{error: String} = "The provided resource hasn't been found: {}", NotFound{error: String} = "The provided resource hasn't been found: {}",
PasswordRequiredError = "You need to provide your current password to authenticate for this action.", PasswordRequiredError = "You need to provide your current password to authenticate for this action.",
InvalidResponseError{error: String} = "The response is malformed and cannot be processed. Error: {}",
} }
custom_error! { custom_error! {