Variable ValidationErrorsConst
ValidationErrors: {
FORWARD_POINTER: (
context: string,
offset: number,
current: number,
) => string;
INSUFFICIENT_BUFFER: (
context: string,
required: number,
available: number,
) => string;
INVALID_POINTER: (
context: string,
offset: number,
bufferSize: number,
) => string;
INVALID_TYPE_BITMAP_LENGTH: (length: number) => string;
INVALID_TYPE_BITMAP_WINDOW: (window: number) => string;
LABEL_TOO_LONG: (length: number) => string;
NAME_TOO_LONG: (length: number) => string;
NEGATIVE_LENGTH: (context: string, value: number) => string;
PACKET_TOO_SMALL: (size: number) => string;
POINTER_DEPTH_EXCEEDED: (depth: number) => string;
RDATA_TOO_LONG: (length: number) => string;
SECTION_COUNT_EXCEEDED: (section: string, count: number) => string;
STRING_TOO_LONG: (length: number) => string;
TCP_MESSAGE_TOO_LONG: (length: number) => string;
ZERO_BYTE_CONSUMPTION: (context: string) => string;
} = ...
Type Declaration
FORWARD_POINTER: (context: string, offset: number, current: number) => string
INSUFFICIENT_BUFFER: (context: string, required: number, available: number) => string
INVALID_POINTER: (context: string, offset: number, bufferSize: number) => string
INVALID_TYPE_BITMAP_LENGTH: (length: number) => string
INVALID_TYPE_BITMAP_WINDOW: (window: number) => string
LABEL_TOO_LONG: (length: number) => string
NAME_TOO_LONG: (length: number) => string
NEGATIVE_LENGTH: (context: string, value: number) => string
PACKET_TOO_SMALL: (size: number) => string
POINTER_DEPTH_EXCEEDED: (depth: number) => string
RDATA_TOO_LONG: (length: number) => string
SECTION_COUNT_EXCEEDED: (section: string, count: number) => string
STRING_TOO_LONG: (length: number) => string
TCP_MESSAGE_TOO_LONG: (length: number) => string
ZERO_BYTE_CONSUMPTION: (context: string) => string
Error messages for validation failures