frontend/.pnpm-store/v3/files/c6/ca7bafff8109466bbc5323e37b111212b9dcf1bd456353427d60fdedac0cfd9fe5f43640d2d8a00d4139cafa45e20fbe7cdd7065559d162151de0360670027

17 lines
327 B
Plaintext

class Deprecation extends Error {
constructor(message) {
super(message); // Maintains proper stack trace (only available on V8)
/* istanbul ignore next */
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
this.name = 'Deprecation';
}
}
export { Deprecation };