Skip to content

Commit

Permalink
Merge pull request #583 from Enet4/bug/parser/recover-api
Browse files Browse the repository at this point in the history
[parser] Recover API compatibility with 0.7.1
  • Loading branch information
Enet4 authored Oct 30, 2024
2 parents 5eeb56e + 14f84fb commit ec178ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser/src/dataset/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ pub enum Error {
bytes_read: u64,
backtrace: Backtrace,
},
/// Undefined pixel data item length
UndefinedItemLength,
/// Invalid data element length {len:04X} of {tag} at {bytes_read:#x}
InvalidElementLength { tag: Tag, len: u32, bytes_read: u64 },
/// Invalid sequence item length {len:04X} at {bytes_read:#x}
InvalidItemLength { len: u32, bytes_read: u64 },
/// Undefined pixel data item length
UndefinedItemLength,
}

pub type Result<T> = std::result::Result<T, Error>;
Expand Down

0 comments on commit ec178ec

Please sign in to comment.