We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2566808 commit 011f929Copy full SHA for 011f929
Week05/emails_mert_can_fidan.py
@@ -26,4 +26,4 @@ def validate(self, data: [str]) -> None:
26
if isinstance(email, int):
27
raise ValueError("Only string values accepted!")
28
if not re.match(regex_pattern, email):
29
- raise ValueError("This is not an email adress!")
+ raise ValueError(f"Invalid email format: {email}")
0 commit comments