def host.without_lock
import mylsm-lsm-store@0.6.0.1/src/transfer/MigrateIo.bend as MigrateIoimport Base
516# Converts a host failure that occurred before acquiring the source lock.
517def host.without_lock(error: U32 & String) -> IO(Result<&1, &1, Error, Nat>):
518 match error:
519 case (code, message):
520 IO.pure(Result<&1, &1, Error, Nat>, Fail{HostError{code, message}})