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: MinifyError
MinifyNotUtf8
Fields
§
source: FromUtf8Error
ReadUnminifiedJsFailed
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)>
Returns 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.
Auto Trait Implementations§
impl Freeze for DeployError
impl !RefUnwindSafe for DeployError
impl !Send for DeployError
impl !Sync for DeployError
impl Unpin for DeployError
impl !UnwindSafe for DeployError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more