pub enum Error {
Show 17 variants
ConfigNotFound(PathBuf),
ConfigParse(String),
ProfileNotFound(String, String),
EnvResolve(String),
EnvMissing(String),
Io(Error),
Json(Error),
ProcessStart(String),
ProcessExit(i32),
ProcessSignal(String),
PortBind(u16, String),
HotReload(String),
WatchMode(String),
DependencyNotFound(String),
InvalidArgument(String),
InvalidConfig(String),
ConflictingOptions(String),
}Expand description
Comprehensive error type for run operations.
This enum represents all possible errors that can occur during the development run process. Each variant provides context-specific information for debugging and error recovery.
Variants§
ConfigNotFound(PathBuf)
Error when a configuration file is not found or cannot be read.
ConfigParse(String)
Error when parsing configuration fails.
ProfileNotFound(String, String)
Error when a profile is not found in the configuration.
EnvResolve(String)
Error when environment variable resolution fails.
EnvMissing(String)
Error when a required environment variable is missing.
Io(Error)
Error when file system operations fail.
Json(Error)
Error when JSON parsing fails.
ProcessStart(String)
Error when a process fails to start.
ProcessExit(i32)
Error when a process exits with a non-zero status.
ProcessSignal(String)
Error when a process is terminated by a signal.
PortBind(u16, String)
Error when port binding fails.
HotReload(String)
Error when hot-reload setup fails.
WatchMode(String)
Error when watch mode setup fails.
DependencyNotFound(String)
Error when a dependency is not found.
InvalidArgument(String)
Error when an invalid argument is provided.
InvalidConfig(String)
Error when run configuration is invalid.
ConflictingOptions(String)
Error when multiple conflicting options are provided.