fromString

Safely parses a string to WarningStatus, returning UNKNOWN for unrecognized values.

Return

The corresponding WarningStatus or UNKNOWN if not recognized.

Parameters

value

The string value to parse.