def classify_recovery.wal
import mylsm-lsm-store@0.6.0.1/src/DurableError.bend as DurableErrorimport 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))