Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 38115e9

Browse files
author
Rain Liu
committed
add ExtendedReport
1 parent 4df3b5d commit 38115e9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/error.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@ pub enum Error {
8888
/// Packet status chunk is not 2 bytes.
8989
#[error("Packet status chunk must be 2 bytes")]
9090
PacketStatusChunkLength,
91+
#[error("Invalid bitrate")]
92+
InvalidBitrate,
93+
#[error("Wrong chunk type")]
94+
WrongChunkType,
95+
#[error("Struct contains unexpected member type")]
96+
BadStructMemberType,
97+
#[error("Cannot read into non-pointer")]
98+
BadReadParameter,
9199

92100
#[error("{0}")]
93101
Util(#[from] util::Error),

0 commit comments

Comments
 (0)