BREAKING CHANGE(core): replace the TypeScript database engine with a Rust-backed embedded server and bridge
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/// Errors from query operations.
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum QueryError {
|
||||
#[error("Invalid query operator: {0}")]
|
||||
InvalidOperator(String),
|
||||
|
||||
#[error("Type mismatch: {0}")]
|
||||
TypeMismatch(String),
|
||||
|
||||
#[error("Invalid update: {0}")]
|
||||
InvalidUpdate(String),
|
||||
|
||||
#[error("Aggregation error: {0}")]
|
||||
AggregationError(String),
|
||||
|
||||
#[error("Invalid regex: {0}")]
|
||||
InvalidRegex(String),
|
||||
}
|
||||
Reference in New Issue
Block a user