Names for the ways a DBMS buffer can be rejected.
💡 Compare error.code with these members. Do not compare the message text.
error.code
import { DbmsError, DbmsErrorCode } from "@itsaorg/dbms-base";throw new DbmsError(DbmsErrorCode.TruncatedBuffer, "Buffer ended early."); Copy
import { DbmsError, DbmsErrorCode } from "@itsaorg/dbms-base";throw new DbmsError(DbmsErrorCode.TruncatedBuffer, "Buffer ended early.");
DbmsError
The payload checksum does not match the header.
The bytes are not a DBMS envelope.
The byte length is shorter than the header or the declared payload.
The envelope version is not supported.
Names for the ways a DBMS buffer can be rejected.
💡 Compare
error.codewith these members. Do not compare the message text.Example
See
DbmsError