Validate a string is a known KinetexErrorCode.
KinetexErrorCode
The error code string to validate.
The validated code if valid, otherwise undefined.
undefined
Validate a string is a known
KinetexErrorCode.