Enum coord::CoordError [−][src]
pub enum CoordError {
Show 34 variants
AutomaticTimestampFailure {
unmaterialized: Vec<String>,
disabled_indexes: Vec<(String, Vec<String>)>,
},
Catalog(Error),
ChangedPlan,
ConstrainedParameter(&'static (dyn Var + Send + Sync)),
DuplicateCursor(String),
Eval(EvalError),
IdExhaustionError,
Internal(String),
IncompleteTimestamp(Vec<GlobalId>),
InvalidAlterOnDisabledIndex(String),
InvalidRematerialization {
base_source: String,
existing_indexes: Vec<String>,
source_type: RematerializedSourceType,
},
InvalidParameterType(&'static (dyn Var + Send + Sync)),
InvalidParameterValue {
parameter: &'static (dyn Var + Send + Sync),
value: String,
reason: String,
},
InvalidTableMutationSelection,
ConstraintViolation(NotNullViolation),
OperationProhibitsTransaction(String),
OperationRequiresTransaction(String),
Persistence(Error),
PreparedStatementExists(String),
ReadOnlyTransaction,
ReadOnlyParameter(&'static (dyn Var + Send + Sync)),
RecursionLimit(RecursionLimitError),
RelationOutsideTimeDomain {
relations: Vec<String>,
names: Vec<String>,
},
SafeModeViolation(String),
SqlCatalog(CatalogError),
TailOnlyTransaction,
Transform(TransformError),
UnknownCursor(String),
UnknownLoginRole(String),
UnknownParameter(String),
UnknownPreparedStatement(String),
Unstructured(Error),
Unsupported(&'static str),
WriteOnlyTransaction,
}
Expand description
Errors that can occur in the coordinator.
Variants
AutomaticTimestampFailure
Query needs AS OF
Catalog(Error)
Tuple Fields
0: Error
An error occurred in a catalog operation.
ChangedPlan
The cached plan or descriptor changed.
ConstrainedParameter(&'static (dyn Var + Send + Sync))
The specified session parameter is constrained to its current value.
DuplicateCursor(String)
Tuple Fields
0: String
The cursor already exists.
Eval(EvalError)
Tuple Fields
0: EvalError
An error while evaluating an expression.
IdExhaustionError
The ID allocator exhausted all valid IDs.
Internal(String)
Tuple Fields
0: String
Unexpected internal state was encountered.
IncompleteTimestamp(Vec<GlobalId>)
At least one input has no complete timestamps yet
InvalidAlterOnDisabledIndex(String)
Tuple Fields
0: String
Specified index is disabled, but received non-enabling update request
InvalidRematerialization
Attempted to build a materialization on a source that does not allow multiple materializations
InvalidParameterType(&'static (dyn Var + Send + Sync))
The value for the specified parameter does not have the right type.
InvalidParameterValue
The value of the specified parameter is incorrect
InvalidTableMutationSelection
The selection value for a table mutation operation refers to an invalid object.
ConstraintViolation(NotNullViolation)
Tuple Fields
Expression violated a column’s constraint
OperationProhibitsTransaction(String)
Tuple Fields
0: String
The named operation cannot be run in a transaction.
OperationRequiresTransaction(String)
Tuple Fields
0: String
The named operation requires an active transaction.
Persistence(Error)
Tuple Fields
0: Error
A persistence-related error.
PreparedStatementExists(String)
Tuple Fields
0: String
The named prepared statement already exists.
ReadOnlyTransaction
The transaction is in read-only mode.
ReadOnlyParameter(&'static (dyn Var + Send + Sync))
The specified session parameter is read-only.
RecursionLimit(RecursionLimitError)
Tuple Fields
The recursion limit of some operation was exceeded.
RelationOutsideTimeDomain
A query in a transaction referenced a relation outside the first query’s time domain.
SafeModeViolation(String)
Tuple Fields
0: String
The specified feature is not permitted in safe mode.
SqlCatalog(CatalogError)
Tuple Fields
0: CatalogError
An error occurred in a SQL catalog operation.
TailOnlyTransaction
The transaction is in single-tail mode.
Transform(TransformError)
Tuple Fields
An error occurred in the optimizer.
UnknownCursor(String)
Tuple Fields
0: String
The named cursor does not exist.
UnknownLoginRole(String)
Tuple Fields
0: String
The named role does not exist.
UnknownParameter(String)
Tuple Fields
0: String
The named parameter is unknown to the system.
UnknownPreparedStatement(String)
Tuple Fields
0: String
Unstructured(Error)
Tuple Fields
0: Error
A generic error occurred.
Unsupported(&'static str)
Tuple Fields
0: &'static str
The named feature is not supported and will (probably) not be.
WriteOnlyTransaction
The transaction is in write-only mode.
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for CoordError
impl Send for CoordError
impl Sync for CoordError
impl Unpin for CoordError
impl !UnwindSafe for CoordError
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more