DbLockPolicy.classify_lock_busy: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/DbLockPolicy.bend as DbLockPolicy Lines 65-72 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=65&end_line=72 import Base import mylsm-lsm-store@0.6.0.1/src/DurableError.bend as DurableError # Maps contention to Busy and retains host details. def classify_lock_busy(busy: Bool, +code: U32, message: String, operation: String, path: String) -> DurableError.Error: match busy: case True{}: DurableError.Error{DurableError.Busy{}, operation, path, code, message} case False{}: classify_lock_nonbusy(unsupported_code(code), missing_code(code), code, message, operation, path) Uses (8): 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/DbLockPolicy.bend&name=classify_lock_nonbusy https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/DbLockPolicy.bend&name=missing_code https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/DbLockPolicy.bend&name=unsupported_code 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