pub type IcDbmsError = DbmsError;Expand description
IC DBMS error type (backward-compatible alias for wasm_dbms_api::error::DbmsError).
Aliased Type§
pub enum IcDbmsError {
AccessDenied {
table: Option<u64>,
required: RequiredPerm,
},
Memory(MemoryError),
Migration(MigrationError),
Query(QueryError),
Sanitize(String),
Table(TableError),
Transaction(TransactionError),
Validation(String),
}Variants§
AccessDenied
Fields
§
table: Option<u64>The fingerprint of the table the operation targeted, when
applicable. None for operational perms (admin,
manage_acl, migrate).
§
required: RequiredPermThe perm that was missing.