Enum rosu_pp::ParseError [−][src]
pub enum ParseError {
IOError(IOError),
IncorrectFileHeader,
BadLine,
InvalidCurvePoints,
InvalidDecimalNumber,
InvalidInteger,
InvalidMode,
MissingField(&'static str),
TooManyRepeats,
UnknownHitObjectKind,
}
Expand description
Anything that could go wrong while parsing a Beatmap
.
Variants
IOError(IOError)
Tuple Fields
0: IOError
Some IO operation failed.
IncorrectFileHeader
The initial data of an .osu
file was incorrect.
BadLine
Line in .osu
was unexpectedly not of the form key:value
.
InvalidCurvePoints
Line in .osu
that contains a slider was not in the proper format.
InvalidDecimalNumber
Expected a decimal number, got something else.
InvalidInteger
Expected an integer, got something else.
InvalidMode
Failed to parse game mode.
MissingField(&'static str)
Tuple Fields
0: &'static str
Expected an additional field.
TooManyRepeats
Reject maps with too many repeat points.
UnknownHitObjectKind
Failed to recognized specified type for hitobjects.
Trait Implementations
Performs the conversion.
Performs the conversion.