pub enum StartChromiumError {
UnsupportedRuntime {
runtime: RuntimeSelection,
},
InvalidCustomScheme {
detail: String,
},
BridgeLoad(BridgeLoadError),
BridgeClientCreateReturnedNull,
PrepareChannel(BridgeError),
TokenGeneration(Error),
ProcessSpawn(Error),
ConnectInherited(BridgeError),
Authenticate(BridgeError),
SessionConnect(Error),
}Expand description
Errors that can occur while launching Chromium and completing initial bridge/session setup.
Variants§
UnsupportedRuntime
The requested runtime is recognized but not currently supported for startup.
Fields
runtime: RuntimeSelectionInvalidCustomScheme
Custom scheme registrations contained invalid launch-time input.
BridgeLoad(BridgeLoadError)
The runtime bridge library or one of its required symbols could not be loaded.
BridgeClientCreateReturnedNull
The bridge loaded but failed to allocate a client handle.
PrepareChannel(BridgeError)
Preparing the inherited IPC channel for the child process failed.
TokenGeneration(Error)
Random session-token generation failed before launch.
ProcessSpawn(Error)
Spawning the Chromium child process failed at the OS process layer.
ConnectInherited(BridgeError)
The bridge client could not bind the inherited IPC endpoint after spawn.
Authenticate(BridgeError)
Bridge session authentication failed after the IPC connection was established.
SessionConnect(Error)
The backend connected, but the higher-level browser session setup failed.
Trait Implementations§
Source§impl Debug for StartChromiumError
impl Debug for StartChromiumError
Source§impl Display for StartChromiumError
impl Display for StartChromiumError
Source§impl Error for StartChromiumError
impl Error for StartChromiumError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()