From 1c5be5693e32d03755277ab596c9ee11f24906aa Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Thu, 8 Jun 2023 22:26:08 +0200 Subject: [PATCH] Add FormCreationError --- src/errors.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/errors.rs b/src/errors.rs index 07cae43..e0789e3 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -19,6 +19,7 @@ custom_error! { InvalidFormBodyError{error_type: String, error:String} = "The server responded with: {error_type}: {error}", RateLimited{bucket:String} = "Ratelimited on Bucket {bucket}", MultipartCreationError{error: String} = "Got an error whilst creating the form: {}", + FormCreationError{error: String} = "Got an error whilst creating the form: {}", TokenExpired = "Token expired, invalid or not found.", NoPermission = "You do not have the permissions needed to perform this action.", NotFound{error: String} = "The provided resource hasn't been found: {}",