@itsaorg/dbms-base
    Preparing search index...

    Enumeration DbmsErrorCode

    Names for the ways a DBMS buffer can be rejected.

    💡 Compare error.code with these members. Do not compare the message text.

    import { DbmsError, DbmsErrorCode } from "@itsaorg/dbms-base";

    throw new DbmsError(DbmsErrorCode.TruncatedBuffer, "Buffer ended early.");
    Index
    ChecksumMismatch: "ChecksumMismatch"

    The payload checksum does not match the header.

    InvalidEnvelope: "InvalidEnvelope"

    The bytes are not a DBMS envelope.

    TruncatedBuffer: "TruncatedBuffer"

    The byte length is shorter than the header or the declared payload.

    UnsupportedVersion: "UnsupportedVersion"

    The envelope version is not supported.