Enum gma::Error [−][src]
pub enum Error {
IOError(Error),
InvalidString,
UTF8Error(FromUtf8Error),
InvalidIdent,
InvalidVersion(u8),
CompressionError(Error),
InvalidAddonType(String),
InvalidAddonTag(String),
}
Variants
IOError(Error)
Tuple Fields
0: Error
InvalidString
this is likely due to trying to write a string containing a null byte
UTF8Error(FromUtf8Error)
Tuple Fields
InvalidIdent
The byte sequence ‘GMAD’ is expected at the start of every .gma file
InvalidVersion(u8)
Tuple Fields
0: u8
As of writting this only version 1,2 and 3 of the file format are supported
CompressionError(Error)
Tuple Fields
0: Error
InvalidAddonType(String)
Tuple Fields
0: String
InvalidAddonTag(String)
Tuple Fields
0: String
Trait Implementations
Performs the conversion.