Lines Matching refs:PyErr_SetString
28 PyErr_SetString(BrotliError, "Invalid mode"); in mode_convertor()
34 PyErr_SetString(BrotliError, "Invalid mode"); in mode_convertor()
41 PyErr_SetString(BrotliError, "Invalid mode"); in mode_convertor()
50 PyErr_SetString(BrotliError, "Invalid quality"); in quality_convertor()
55 PyErr_SetString(BrotliError, "Invalid quality. Range is 0 to 11."); in quality_convertor()
64 PyErr_SetString(BrotliError, "Invalid lgwin"); in lgwin_convertor()
69 PyErr_SetString(BrotliError, "Invalid lgwin. Range is 10 to 24."); in lgwin_convertor()
78 PyErr_SetString(BrotliError, "Invalid lgblock"); in lgblock_convertor()
83 PyErr_SetString(BrotliError, "Invalid lgblock. Can be 0 or in range 16 to 24."); in lgblock_convertor()
251 PyErr_SetString(BrotliError, "BrotliEncoderCompressStream failed while processing the stream"); in brotli_Compressor_process()
288 PyErr_SetString(BrotliError, "BrotliEncoderCompressStream failed while flushing the stream"); in brotli_Compressor_flush()
332 PyErr_SetString(BrotliError, "BrotliEncoderCompressStream failed while finishing the stream"); in brotli_Compressor_finish()
519 … PyErr_SetString(BrotliError, "BrotliDecoderDecompressStream failed while processing the stream"); in brotli_Decompressor_process()
546 PyErr_SetString(BrotliError, "BrotliDecoderState is NULL while checking is_finished"); in brotli_Decompressor_is_finished()
560 PyErr_SetString(BrotliError, "BrotliDecoderDecompressStream failed while finishing the stream"); in brotli_Decompressor_is_finished()
685 PyErr_SetString(BrotliError, "BrotliDecompress failed"); in brotli_decompress()