add error

This commit is contained in:
bitfl0wer 2023-04-21 18:20:49 +02:00
parent 06bc2955a3
commit d8b06921b6
1 changed files with 6 additions and 0 deletions

View File

@ -15,3 +15,9 @@ custom_error! {
ConsentError = "Consent must be 'true' to register.", ConsentError = "Consent must be 'true' to register.",
EmailError = "The provided email address is in an invalid format." EmailError = "The provided email address is in an invalid format."
} }
custom_error! {
#[derive(PartialEq, Eq)]
pub InstanceServerError
NoResponse = "Did not receive a response from the Server."
}