def classify_recovery.wal

mylsm-lsm-store@0.6.0.1 · src/DurableError.bend:88

import mylsm-lsm-store@0.6.0.1/src/DurableError.bend as DurableError
import Base

88def classify_recovery.wal(+code: U32, +message: String, +operation: String, +path: String) -> Error:
89  Bool.pick(Error, U32.is_eq(code, 4294967290),
90    error(Corruption{}, operation, path, 0, "malformed WAL"),
91    classify_recovery.levels(code, message, operation, path))

Uses (8)

Used by (1)