type DbErrorKind
Why a database operation failed (see DbError).
Example:
fn retryable(k: DbErrorKind) -> bool => k == DbErrorKind.Busy
fn main() io {
print("{retryable(DbErrorKind.Busy)} {retryable(DbErrorKind.Conflict)}")
}Output
true false
pub(api) type DbErrorKind = std.core.DbErrorKindSince. 1.0.0-beta
Defined in: std/orm/orm.oxl:251