Add InvalidResponseError
This commit is contained in:
parent
2ba1e1ac84
commit
5db5a2562f
|
@ -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! {
|
||||||
|
|
Loading…
Reference in New Issue