mirror of
https://github.com/rendercv/rendercv.git
synced 2026-10-25 13:48:49 -04:00
uncomment a custom error message
This commit is contained in:
1 parent
150636deb2
commit
6e34ff524d
1 file changed
+1
-1
@@ -44,7 +44,7 @@ def user_friendly_errors(func: Callable) -> Callable:
|
||||
# Translate Pydantic's error messages to make them more user-friendly
|
||||
custom_error_messages_by_type = {
|
||||
"url_scheme": "This is not a valid URL 😿",
|
||||
# "string_type": "This is not a valid string 🤭",
|
||||
"string_type": "This is not a valid string 🤭",
|
||||
"missing": "This field is required, but it is missing 😆",
|
||||
"literal_error": "Only the following values are allowed: {expected} 😒",
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user