This Error indicates an attempt was made to read outside the bounds of protected data.

Most operations in quais are protected by bounds checks, to mitigate exploits when parsing data.

Extends

Properties

PropertyTypeDescriptionInherited from
bufferUint8ArrayThe buffer that was overrun.-
codeErrorCodeThe string error code.quaisError.code
error?ErrorAny related error.quaisError.error
info?Record<string, any>Additional info regarding the error that may be useful.

This is generally helpful mostly for human-based debugging.
quaisError.info
lengthnumberThe length of the buffer.-
offsetnumberThe offset that was requested.-
shortMessagestringA short message describing the error, with minimal additional details.quaisError.shortMessage