def classify_recovery.corruption

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

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

73def classify_recovery.corruption(+code: U32, +message: String, +operation: String, +path: String) -> Error:
74  Bool.pick(Error, U32.is_eq(code, Manifest.malformed_error_code()),
75    error(Corruption{}, operation, path, 0, "malformed manifest"),
76    classify_recovery.limit(code, message, operation, path))

Uses (9)

Used by (1)