Enum perseus_cli::errors::DeployError
source · pub enum DeployError {
MoveExportDirFailed {
to: String,
from: String,
source: Error,
},
ReplaceOutputDirFailed {
path: String,
source: Error,
},
MoveAssetFailed {
to: String,
from: String,
source: Error,
},
MoveDirFailed {
to: String,
from: String,
source: Error,
},
ReadExportDirFailed {
path: String,
source: Error,
},
CreateDistDirFailed {
source: Error,
},
MinifyError {
source: MinifyError,
},
MinifyNotUtf8 {
source: FromUtf8Error,
},
ReadUnminifiedJsFailed {
source: Error,
},
WriteMinifiedJsFailed {
source: Error,
},
}Expand description
Errors that can occur while running perseus deploy.
Variants§
MoveExportDirFailed
ReplaceOutputDirFailed
MoveAssetFailed
MoveDirFailed
ReadExportDirFailed
CreateDistDirFailed
MinifyError
Fields
§
source: MinifyErrorMinifyNotUtf8
Fields
§
source: FromUtf8ErrorReadUnminifiedJsFailed
WriteMinifiedJsFailed
Trait Implementations§
source§impl Debug for DeployError
impl Debug for DeployError
source§impl Display for DeployError
impl Display for DeployError
source§impl Error for DeployError
impl Error for DeployError
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<DeployError> for Error
impl From<DeployError> for Error
source§fn from(source: DeployError) -> Self
fn from(source: DeployError) -> Self
Converts to this type from the input type.