pub enum DevError {
Show 24 variants
Spawn {
program: String,
source: Error,
},
StartupTimeout {
process: String,
addr: SocketAddr,
},
Config(RouterError),
Compute(ComputeError),
Io(Error),
Backend(String),
InvalidHttpAddr {
addr: String,
source: AddrParseError,
},
InvalidNotebooksBind {
addr: String,
source: AddrParseError,
},
NotebooksWithoutHttp,
Notebooks(NotebookError),
AiWithoutHttp,
Ai(AiConfigError),
DevStop(String),
Daemon(String),
PidfileInUse {
path: PathBuf,
pid: u32,
},
DirectSstNotImplemented,
GeoRebuild(String),
TemporalRebuild(String),
OfflineWritePanic {
axis: &'static str,
},
OfflineStagingNotRecovered {
dir: PathBuf,
count: usize,
},
OfflineImportCleanup {
write: String,
during: &'static str,
cleanup: String,
},
Storage(StorageError),
Partition(PartitionError),
Registry(RegistryError),
}Expand description
Failure starting or driving the local cluster.
Variants§
Spawn
A storage-side binary could not be started.
Fields
StartupTimeout
A spawned process never accepted connections.
Config(RouterError)
Static cluster configuration is missing an address or is malformed.
Compute(ComputeError)
The compute coordinator failed to connect, load, or query.
Io(Error)
Terminal or config I/O failure.
Backend(String)
A generic storage/config failure that has no dedicated variant (malformed plugin config, lease misuse).
InvalidHttpAddr
--http value could not be parsed as a socket address.
InvalidNotebooksBind
--notebooks-bind / notebooks.bind could not be parsed.
NotebooksWithoutHttp
--with-notebooks needs the HTTP server (kernels talk to the engine
over loopback HTTP like any other client).
Notebooks(NotebookError)
The notebook sidecar could not be validated, spawned, or supervised.
AiWithoutHttp
--with-ai needs the HTTP server (the AI routes are HTTP routes).
Ai(AiConfigError)
AI configuration (ai.toml) is invalid.
DevStop(String)
waratah stop failed.
Daemon(String)
Daemonized waratah start failed before or during startup.
PidfileInUse
The pidfile names a live cluster that this start does not own.
Overwriting it would leave that cluster unstoppable — waratah stop resolves clusters through this exact file.
DirectSstNotImplemented
--direct-sst is a stub until SstFileWriter ingest lands.
GeoRebuild(String)
A waratah geo rebuild-index step failed.
TemporalRebuild(String)
A waratah temporal rebuild-index step failed.
OfflineWritePanic
An offline hexastore write thread panicked.
OfflineStagingNotRecovered
Finished registry SST runs are still on disk. Deleting them would drop the only copy of those dictionary entries.
Fields
OfflineImportCleanup
The offline import’s write failed, and flushing the finished chunks or ingesting their registry runs failed as well.
Fields
Storage(StorageError)
Hexastore / registry storage failure on the offline path.
Partition(PartitionError)
In-process partition open or apply failed (waratah standalone).
Registry(RegistryError)
In-process registry open or apply failed (waratah standalone).
Trait Implementations§
Source§impl Error for DevError
impl Error for DevError
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()
Source§impl From<AiConfigError> for DevError
impl From<AiConfigError> for DevError
Source§fn from(source: AiConfigError) -> Self
fn from(source: AiConfigError) -> Self
Source§impl From<ComputeError> for DevError
impl From<ComputeError> for DevError
Source§fn from(source: ComputeError) -> Self
fn from(source: ComputeError) -> Self
Source§impl From<NotebookError> for DevError
impl From<NotebookError> for DevError
Source§fn from(source: NotebookError) -> Self
fn from(source: NotebookError) -> Self
Source§impl From<PartitionError> for DevError
impl From<PartitionError> for DevError
Source§fn from(source: PartitionError) -> Self
fn from(source: PartitionError) -> Self
Source§impl From<RegistryError> for DevError
impl From<RegistryError> for DevError
Source§fn from(source: RegistryError) -> Self
fn from(source: RegistryError) -> Self
Source§impl From<RouterError> for DevError
impl From<RouterError> for DevError
Source§fn from(source: RouterError) -> Self
fn from(source: RouterError) -> Self
Source§impl From<StorageError> for DevError
impl From<StorageError> for DevError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Auto Trait Implementations§
impl Freeze for DevError
impl !RefUnwindSafe for DevError
impl Send for DevError
impl Sync for DevError
impl Unpin for DevError
impl UnsafeUnpin for DevError
impl !UnwindSafe for DevError
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].