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

Function CharsetByNameOrDie

library/cpp/charset/codepage.cpp:197–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197ECharset CharsetByNameOrDie(TStringBuf name) {
198 ECharset result = CharsetByName(name);
199 if (result == CODES_UNKNOWN)
200 ythrow yexception() << "CharsetByNameOrDie: unknown charset '" << name << "'";
201 return result;
202}
203
204namespace {
205 class THashSetType: public THashSet<TString> {

Callers

nothing calls this directly

Calls 2

CharsetByNameFunction · 0.85
yexceptionClass · 0.85

Tested by

no test coverage detected