pub enum RedDBError {
Show 15 variants
InvalidConfig(String),
SchemaVersionMismatch {
expected: u32,
found: u32,
},
FeatureNotEnabled(String),
NotFound(String),
ReadOnly(String),
InvalidOperation(String),
Engine(String),
Catalog(String),
Query(String),
Validation {
message: String,
validation: Value,
},
Io(Error),
VersionUnavailable,
QuotaExceeded(String),
MaterializationLimitExceeded {
executor: &'static str,
limit: usize,
current: usize,
},
Internal(String),
}Variants§
InvalidConfig(String)
SchemaVersionMismatch
FeatureNotEnabled(String)
NotFound(String)
ReadOnly(String)
InvalidOperation(String)
Engine(String)
Catalog(String)
Query(String)
Validation
Io(Error)
QuotaExceeded(String)
Operator-pinned cap exceeded (PLAN.md Phase 4.1). The string
payload should follow the quota_exceeded:<limit_name>:<current>:<max>
shape so HTTP / wire surfaces can map to the right status
(507 for storage, 429 for rate, 504 for duration, 413 for
payload).
MaterializationLimitExceeded
Issue #769 (PRD #759 / S10) — an aggregating executor
(aggregation, sort, window) exceeded
stream.executor.max_materialized_rows in its in-memory state.
Carries the executor that fired, the configured ceiling and the
live row count at the breach so the client can decide whether to
redesign the query, raise the limit, or pre-aggregate. Surfaces
as HTTP 507 with a structured materialization_limit_exceeded
envelope; NDJSON streams emit the same code mid-stream.
Internal(String)
Trait Implementations§
Source§impl Debug for RedDBError
impl Debug for RedDBError
Source§impl Display for RedDBError
impl Display for RedDBError
Source§impl Error for RedDBError
impl Error for RedDBError
1.30.0 · 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<DatabaseError> for RedDBError
impl From<DatabaseError> for RedDBError
Source§fn from(err: DatabaseError) -> RedDBError
fn from(err: DatabaseError) -> RedDBError
Source§impl From<DevXError> for RedDBError
impl From<DevXError> for RedDBError
Source§fn from(err: DevXError) -> RedDBError
fn from(err: DevXError) -> RedDBError
Source§impl From<Error> for RedDBError
impl From<Error> for RedDBError
Source§fn from(err: Error) -> RedDBError
fn from(err: Error) -> RedDBError
Source§impl From<StoreError> for RedDBError
impl From<StoreError> for RedDBError
Source§fn from(err: StoreError) -> RedDBError
fn from(err: StoreError) -> RedDBError
Source§impl From<TxError> for RedDBError
impl From<TxError> for RedDBError
Source§fn from(err: TxError) -> RedDBError
fn from(err: TxError) -> RedDBError
Auto Trait Implementations§
impl Freeze for RedDBError
impl !RefUnwindSafe for RedDBError
impl Send for RedDBError
impl Sync for RedDBError
impl Unpin for RedDBError
impl UnsafeUnpin for RedDBError
impl !UnwindSafe for RedDBError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request