pub enum HmiCompileError {
CommandResolveError(String),
ProjectDirNotFound(PathBuf),
BuildFailed(String),
DistNotFound(PathBuf),
DistEmpty(PathBuf),
PocketArtifactNotFound(PathBuf),
PocketAppMissing,
UtilityError(String),
}Expand description
Error type for HMI frontend compilation.
Variants§
CommandResolveError(String)
The frontend build command could not be resolved.
ProjectDirNotFound(PathBuf)
The frontend project directory does not exist.
BuildFailed(String)
The frontend build command failed to launch or exited non-zero.
DistNotFound(PathBuf)
The build succeeded but produced no dist directory.
DistEmpty(PathBuf)
The dist directory exists but is empty (no assets were produced).
PocketArtifactNotFound(PathBuf)
A PocketJS build produced no <app>.js/<app>.pak pair.
PocketAppMissing
A PocketJS build was planned without an [hmi].app entry name.
UtilityError(String)
A filesystem error occurred while verifying the dist output.
Trait Implementations§
Source§impl Debug for HmiCompileError
impl Debug for HmiCompileError
Source§impl Display for HmiCompileError
impl Display for HmiCompileError
Source§impl Error for HmiCompileError
impl Error for HmiCompileError
1.30.0 · 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<HmiCompileError> for PipelineError
impl From<HmiCompileError> for PipelineError
Source§fn from(source: HmiCompileError) -> Self
fn from(source: HmiCompileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HmiCompileError
impl RefUnwindSafe for HmiCompileError
impl Send for HmiCompileError
impl Sync for HmiCompileError
impl Unpin for HmiCompileError
impl UnsafeUnpin for HmiCompileError
impl UnwindSafe for HmiCompileError
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