mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-13 22:22:31 +00:00
Update error.rs
This commit is contained in:
parent
96c907874a
commit
fc843dd943
1 changed files with 6 additions and 0 deletions
|
@ -47,6 +47,12 @@ pub enum LoftyError {
|
||||||
/// Arises when invalid data is encountered while reading an ID3v2 synchronized text frame
|
/// Arises when invalid data is encountered while reading an ID3v2 synchronized text frame
|
||||||
#[error("ID3v2: Encountered invalid data in SYLT frame")]
|
#[error("ID3v2: Encountered invalid data in SYLT frame")]
|
||||||
BadSyncText,
|
BadSyncText,
|
||||||
|
/// Arises when invalid data is encountered while reading an ID3v2 general encapsulated object frame
|
||||||
|
#[error("ID3v2: Encountered invalid data in GEOB frame")]
|
||||||
|
BadEncapsulatedObject,
|
||||||
|
/// Arists when [`std::str::from_utf8`] fails to parse a frame ID
|
||||||
|
#[error("ID3v2: Encountered an invalid frame ID")]
|
||||||
|
BadFrameID,
|
||||||
/// Errors that arise while reading/writing to WAV files
|
/// Errors that arise while reading/writing to WAV files
|
||||||
#[error("Riff: {0}")]
|
#[error("Riff: {0}")]
|
||||||
Wav(&'static str),
|
Wav(&'static str),
|
||||||
|
|
Loading…
Reference in a new issue