Enum amethyst::Error [−][src]
pub enum Error {
Application,
Config(ConfigError),
Core(Error),
}Common error type.
Variants
ApplicationApplication error.
Config(ConfigError)Asset management error. Configuration error.
Core(Error)Core error.
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl StdError for Error[src]
impl StdError for Errorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&StdError>[src]
fn cause(&self) -> Option<&StdError>The lower-level cause of this error, if any. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, fmt: &mut Formatter) -> FmtResult[src]
fn fmt(&self, fmt: &mut Formatter) -> FmtResultFormats the value using the given formatter. Read more
impl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Errorimpl From<ConfigError> for Error[src]
impl From<ConfigError> for Errorfn from(err: ConfigError) -> Self[src]
fn from(err: ConfigError) -> SelfPerforms the conversion.