Enum cobble_core::error::LaunchError
source · Expand description
An error that occurs during installation of minecraft.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Io(Error)
IO error
Ipc(IpcError)
Available on Unix only.
Failed to send stop signal to game process
ProcessForking
Available on Unix only.
Failed to fork game process
WaitPid
Available on Unix only.
Failed to wait for the game process to exit. When this error occurs, there may be a zombie process left.
Trait Implementations§
source§impl Debug for LaunchError
impl Debug for LaunchError
source§impl Display for LaunchError
impl Display for LaunchError
source§impl Error for LaunchError
impl Error for LaunchError
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()
source§impl From<Error> for LaunchError
impl From<Error> for LaunchError
source§impl From<IpcError> for LaunchError
impl From<IpcError> for LaunchError
source§impl From<LaunchError> for CobbleError
impl From<LaunchError> for CobbleError
source§fn from(err: LaunchError) -> Self
fn from(err: LaunchError) -> Self
Converts to this type from the input type.