github.com/nektos/act@v0.2.63/pkg/runner/testdata/actions/node12/node_modules/deprecation/dist-src/index.js (about)

     1  export class Deprecation extends Error {
     2    constructor(message) {
     3      super(message); // Maintains proper stack trace (only available on V8)
     4  
     5      /* istanbul ignore next */
     6  
     7      if (Error.captureStackTrace) {
     8        Error.captureStackTrace(this, this.constructor);
     9      }
    10  
    11      this.name = 'Deprecation';
    12    }
    13  
    14  }