acorde-io 1.0.7

MusicXML / MIDI / ABC / MSCZ parsers and serializer for acorde-core
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("XML parse error: {0}")]
    Xml(String),
    #[error("UTF-8 error: {0}")]
    Encoding(#[from] std::string::FromUtf8Error),
    #[error("file too large ({0} bytes)")]
    TooLarge(usize),
    #[error("no note events found")]
    Empty,
    #[error("ZIP error: {0}")]
    Zip(String),
    #[error("MIDI parse error: {0}")]
    Midi(String),
    #[error("ABC parse error: {0}")]
    Abc(String),
}