| 9 | namespace NDetail { |
| 10 | |
| 11 | void ThrowMalformedEnumValueException(TStringBuf typeName, TStringBuf value) |
| 12 | { |
| 13 | throw TSimpleException(Format("Error parsing %v value %Qv", |
| 14 | typeName, |
| 15 | value)); |
| 16 | } |
| 17 | |
| 18 | template <bool ThrowOnError> |
| 19 | std::optional<std::string> DecodeEnumValueImpl(TStringBuf value) |
no test coverage detected