zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/WrongCompilerPassTypeException.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
export default class WrongCompilerPassTypeException extends Error {
  /**
   * @param {string} type
   */
  constructor (type) {
    super(`${type} is a wrong compiler pass config type`)
    this.name = 'WrongCompilerPassTypeException'
    this.stack = (new Error()).stack
  }
}