Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion avro/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,13 @@ pub enum Details {
#[error("Read into buffer failed: {0}")]
ReadIntoBuf(#[source] std::io::Error),

#[error("block marker does not match header marker")]
#[error(
"Invalid sync marker! The sync marker in the data block \
doesn't match the file header's sync marker. This likely \
indicates data corruption, truncated file, or incorrectly \
concatenated Avro files. Verify file integrity and ensure \
proper file transmission or creation."
)]
GetBlockMarker,

#[error("Overflow when decoding integer value")]
Expand Down