add error
This commit is contained in:
parent
06bc2955a3
commit
d8b06921b6
|
@ -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."
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue