mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
Improve error messages
This commit is contained in:
@@ -182,6 +182,10 @@ def parse_validation_errors(
|
||||
"Input should be a valid list": (
|
||||
"This field should contain a list of items but it doesn't!"
|
||||
),
|
||||
"value is not a valid color: value must be tuple, list or string": (
|
||||
"This is not a valid color! Here are some examples of valid colors:"
|
||||
' "red", "#ff0000", "rgb(255, 0, 0)", "hsl(0, 100%, 50%)"'
|
||||
),
|
||||
"value is not a valid color: string not recognised as a valid color": (
|
||||
"This is not a valid color! Here are some examples of valid colors:"
|
||||
' "red", "#ff0000", "rgb(255, 0, 0)", "hsl(0, 100%, 50%)"'
|
||||
|
||||
Reference in New Issue
Block a user