Enum dioxus_cli::error::Error
source · pub enum Error {
Unique(String),
IO(Error),
FormatError(Error),
ParseError(String),
RuntimeError(String),
FailedToWrite,
BuildFailed(String),
CargoError(String),
CustomError(String),
InvalidProxy(InvalidUri),
ProxyRequestError(Error),
Other(Error),
}
Variants§
Unique(String)
Used when errors need to propogate but are too unique to be typed
IO(Error)
FormatError(Error)
ParseError(String)
RuntimeError(String)
FailedToWrite
BuildFailed(String)
CargoError(String)
CustomError(String)
InvalidProxy(InvalidUri)
ProxyRequestError(Error)
Other(Error)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<InvalidUri> for Error
impl From<InvalidUri> for Error
source§fn from(source: InvalidUri) -> Self
fn from(source: InvalidUri) -> Self
Converts to this type from the input type.