Color.ParseError exception
(Color v0.4.0)
Copy Markdown
Raised when CSS Color Module Level 4 parsing fails. Used by
Color.CSS.parse/1, Color.CSS.Tokenizer, and Color.CSS.Calc.
Has fields:
:input— the original input string, where available.:function— the CSS function that was being parsed ("rgb","oklch","calc", …) ornil.:reason— a short string describing the failure.