1
0
mirror of https://github.com/Azure/setup-helm.git synced 2026-07-07 08:51:37 +00:00
Files
setup-helm/node_modules/deprecation/dist-src/index.js
T
2021-03-17 11:08:51 +05:30

14 lines
308 B
JavaScript

export 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';
}
}