This enumeration contains values representing the different error codes that can be encountered during G-PAK operations, such as issues with archive or stream handling, mode errors, and compression/decompression errors.
Enumerator |
---|
GPAK_ERROR_OK | No error occurred.
|
GPAK_ERROR_ARCHIVE_IS_NULL | The archive pointer is NULL.
|
GPAK_ERROR_STREAM_IS_NULL | The stream pointer is NULL.
|
GPAK_ERROR_INCORRECT_MODE | The mode flag is incorrect.
|
GPAK_ERROR_INCORRECT_HEADER | The archive header is incorrect.
|
GPAK_ERROR_OPEN_FILE | An error occurred while opening a file.
|
GPAK_ERROR_WRITE | An error occurred while writing to a file.
|
GPAK_ERROR_READ | An error occurred while reading from a file.
|
GPAK_ERROR_FILE_NOT_FOUND | The specified file was not found.
|
GPAK_ERROR_DEFLATE_INIT | An error occurred while initializing deflate.
|
GPAK_ERROR_DEFLATE_FAILED | Deflate operation failed.
|
GPAK_ERROR_INFLATE_INIT | An error occurred while initializing inflate.
|
GPAK_ERROR_INFLATE_FAILED | Inflate operation failed.
|
GPAK_ERROR_LZ4_WRITE_OPEN | An error occurred while opening an LZ4 file for writing.
|
GPAK_ERROR_LZ4_WRITE | An error occurred while writing to an LZ4 file.
|
GPAK_ERROR_LZ4_WRITE_CLOSE | An error occurred while closing an LZ4 file after writing.
|
GPAK_ERROR_LZ4_READ_OPEN | An error occurred while opening an LZ4 file for reading.
|
GPAK_ERROR_LZ4_READ | An error occurred while reading from an LZ4 file.
|
GPAK_ERROR_LZ4_READ_CLOSE | An error occurred while closing an LZ4 file after reading.
|
GPAK_ERROR_LZ4_DECOMPRESS | An error occurred during LZ4 decompression.
|
GPAK_ERROR_EMPTY_INPUT | The input is empty.
|
GPAK_ERROR_EOF_BEFORE_EOS | End of file encountered before end of stream.
|
GPAK_ERROR_FILE_CRC_NOT_MATCH | The file CRC does not match.
|
GPAK_ERROR_INVALID_DICTIONARY | The dictionary is invalid.
|
GPAK_ERROR_FAILED_TO_CREATE_DICTIONARY | Failed to create a dictionary.
|
@ GPAK_ERROR_INFLATE_FAILED
@ GPAK_ERROR_INVALID_DICTIONARY
@ GPAK_ERROR_LZ4_DECOMPRESS
@ GPAK_ERROR_INFLATE_INIT
@ GPAK_ERROR_FAILED_TO_CREATE_DICTIONARY
@ GPAK_ERROR_INCORRECT_MODE
@ GPAK_ERROR_STREAM_IS_NULL
@ GPAK_ERROR_LZ4_READ_CLOSE
@ GPAK_ERROR_LZ4_WRITE_CLOSE
@ GPAK_ERROR_ARCHIVE_IS_NULL
@ GPAK_ERROR_DEFLATE_FAILED
@ GPAK_ERROR_LZ4_WRITE_OPEN
@ GPAK_ERROR_DEFLATE_INIT
@ GPAK_ERROR_EOF_BEFORE_EOS
@ GPAK_ERROR_LZ4_READ_OPEN
@ GPAK_ERROR_FILE_NOT_FOUND
@ GPAK_ERROR_INCORRECT_HEADER
@ GPAK_ERROR_FILE_CRC_NOT_MATCH