UNPKG

gnablib

Version:

A lean, zero dependency library to provide a useful base for your project.

2 lines 302 B
/*! Copyright 2023-2024 the gnablib contributors MPL-1.1 */ export class NotEnoughSpaceError extends RangeError{constructor(r,e,o){super(`${r} needs ${e}, have ${o}`),this.noun=r,this.need=e,this.available=o}get name(){return"NotEnoughSpaceError"}get[Symbol.toStringTag](){return"NotEnoughSpaceError"}}