def Bytes.error.result
import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsmimport Base
import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as RawByteDb
101def Bytes.error.result(result: Result<&1, &1, RawByteDb.Error, Unit>) -> Result<&1, &1, Bytes.Error, Unit>:
102 match result:
103 case Fail{error}: Fail{Bytes.error(error)}
104 case Done{Unit{}}: Done{Unit{}}