Mylsm.Bytes.error: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm Lines 87-99 of mylsm-lsm-store@0.6.0.1/mylsm.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&start_line=87&end_line=99 import Base import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as RawByteDb # Converts internal byte-engine errors into the public byte API error type. def Bytes.error(error: RawByteDb.Error) -> Bytes.Error: match error: case RawByteDb.Busy{}: Busy{} case RawByteDb.Timeout{}: Timeout{} case RawByteDb.NotFound{}: NotFound{} case RawByteDb.AlreadyExists{}: AlreadyExists{} case RawByteDb.InvalidArgument{}: InvalidArgument{} case RawByteDb.UnsupportedPlatform{}: UnsupportedPlatform{} case RawByteDb.ResourceLimit{}: ResourceLimit{} case RawByteDb.Corruption{message}: Corruption{message} case RawByteDb.Io{code, message}: Io{code, message} case RawByteDb.CommitUnknown{code, message}: CommitUnknown{code, message} Uses (2): https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend&name=Error