MCPcopy Create free account
hub / github.com/catboost/catboost / ThrowMalformedEnumValueException

Function ThrowMalformedEnumValueException

library/cpp/yt/string/enum.cpp:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

ParseEnumFunction · 0.85

Calls 2

TSimpleExceptionClass · 0.85
FormatFunction · 0.70

Tested by

no test coverage detected