HexCodeError
enum HexCodeError : Error
Possible errors for UIColor Hexadecimal extension
-
The content of the hex string is invalid.
Declaration
Swift
case invalidContent
-
The length of the hex code is invalid. The code can be 3,4,6 or 8 digits long excluding the optional ‘#’.
Declaration
Swift
case invalidLength