Tells whether a string has the shape of an error code.
the string
true when it matches CODE_PATTERN
CODE_PATTERN
Tells whether a string has the shape of an error code.