pub type Error = Error;Expand description
The crate’s error type.
Aliased Type§
pub enum Error {
FileNotFound(String),
FileOpen(PathBuf, String),
RemoteFetch(String, String),
LoadError(String),
IsDirectory(PathBuf),
Parse(String),
}Variants§
FileNotFound(String)
Asset not found at the specified path.
FileOpen(PathBuf, String)
Could not read asset at the specified location.
RemoteFetch(String, String)
Could not fetch remote asset.
LoadError(String)
Could not load file.
IsDirectory(PathBuf)
Could not fetch directory as bytes.
Parse(String)
The location of the asset was in a format the Asset couldn’t parse.