Enum sugar_cli::errors::CacheError
source · pub enum CacheError {
CacheFileNotFound(String),
InvalidCandyMachineAddress(String),
FailedToOpenCacheFile(String, String),
CacheFileWrongFormat(String),
InvalidState,
}Variants§
CacheFileNotFound(String)
InvalidCandyMachineAddress(String)
FailedToOpenCacheFile(String, String)
CacheFileWrongFormat(String)
InvalidState
Trait Implementations§
source§impl Debug for CacheError
impl Debug for CacheError
source§impl Display for CacheError
impl Display for CacheError
source§impl Error for CacheError
impl Error for CacheError
1.30.0 · 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()