DbLockPolicy.classify_nonbusy_lock_error: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/DbLockPolicy.bend as DbLockPolicy Lines 24-36 of mylsm-lsm-store@0.6.0.1/src/DbLockPolicy.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/DbLockPolicy.bend&start_line=24&end_line=36 import Base import mylsm-lsm-store@0.6.0.1/src/DurableError.bend as DurableError # Maps non-contention lock errors to NotFound or Io. def classify_nonbusy_lock_error( missing: Bool, code: U32, message: String, operation: String, path: String, ) -> DurableError.Error: match missing: case True{}: DurableError.Error{DurableError.NotFound{}, operation, path, code, message} case False{}: DurableError.Error{DurableError.Io{}, operation, path, code, message} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/DurableError.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/DurableError.bend&name=ErrorKind