dictBuilder fails to create dictionary on certain input
Properly expressed with an error code (see zstd_errors.h) and a cli return code != 0
This commit is contained in:
1 parent
5caaa15968
commit
f332ece468
5 files changed
+14
-5
No files matched your search
@@ -37,6 +37,7 @@ const char* ERR_getErrorString(ERR_enum code)
|
||||
case PREFIX(maxSymbolValue_tooSmall): return "Specified maxSymbolValue is too small";
|
||||
case PREFIX(dictionary_corrupted): return "Dictionary is corrupted";
|
||||
case PREFIX(dictionary_wrong): return "Dictionary mismatch";
|
||||
case PREFIX(dictionaryCreation_failed): return "Cannot create Dictionary from provided samples";
|
||||
case PREFIX(maxCode):
|
||||
default: return notErrorCode;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user