Skip to main content

Module error

Module error 

Source
Expand description

Contains the errors that can arise within Lofty

Structs§

FakeTagError
Arises when a tag is expected (Ex. found an “ID3 “ chunk in a WAV file), but isn’t found
FileEncodingError
An error that arises while encoding a file
FileParseError
Failed to parse a file
NotEnoughDataError
Attempting to parse an item, but there isn’t enough data available
SizeMismatchError
Expected the data to be a different size than provided
TagEncodingError
An error that arises while encoding a tag
TagParseError
An error that arises while parsing a tag
TextDecodingError
Errors that can occur while decoding text
TextEncodingError
Errors that can occur while encoding text
TooMuchDataError
Attempting to read/write an abnormally large amount of data
UnknownFormatError
Unable to guess the format of the input
UnsupportedTagError
Attempting to write a tag to a FileType that doesn’t support it

Enums§

AllocationError
A memory allocation failed