Skip to main content

HURRAY_ERR_INVALID_FILE

Constant HURRAY_ERR_INVALID_FILE 

Source
pub const HURRAY_ERR_INVALID_FILE: HurrayStatus = -21;
Expand description

The file is not a valid HRRYFILE container, or the file being written would not be one.

Covers the footer family — a CRC mismatch, an index that overruns the trailer, unknown header flag bits — and the name and KV-key rules a writer must keep. A wrong magic or an unsupported container version report HURRAY_ERR_INVALID_MAGIC and HURRAY_ERR_VERSION_MISMATCH instead, which say more.