exportdefaultclassBufferLengthErrorextendsError {
publicconstructor() {
super('Buffer Length')
// We need to set the prototype explicitlyObject.setPrototypeOf(this, BufferLengthError.prototype)
Object.getPrototypeOf(this).name = 'BufferLengthError'
}
}