mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-04 11:04:07 +02:00
restore UnexpectedHeader
This commit is contained in:
parent
8f6496e456
commit
7f2c927e7b
2 changed files with 10 additions and 1 deletions
|
|
@ -7,6 +7,8 @@ use zip::result::ZipError;
|
|||
#[non_exhaustive]
|
||||
#[derive(Debug, Error)]
|
||||
pub enum BspError {
|
||||
#[error("unexpected magic numbers or version: {0:?}")]
|
||||
UnexpectedHeader([u8; 4]),
|
||||
#[error("bsp lump is out of bounds of the bsp file")]
|
||||
LumpOutOfBounds(LumpEntry),
|
||||
#[error("bsp game lump is out of bounds of the bsp file")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue