def codec.error

mylsm-lsm-store@0.6.0.1 · src/scan/ByteBlockReader.bend:205

import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend as ByteBlockReader
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteSstFile.bend as ByteSstFile

205def codec.error(error: ByteSstFile.Error) -> U32 & String:
206  match error:
207    case ByteSstFile.ChecksumMismatch{}:
208      corruption("byte SST checksum mismatch")
209    case ByteSstFile.InvalidOrder{}:
210      corruption("byte SST keys are not strictly ordered")
211    case _:
212      corruption("malformed byte SST")

Uses (5)

Used by (2)