zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/ServiceFileNotFoundException.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
export default class ServiceFileNotFoundException extends Error {
  /**
   * @param {string} fileName
   */
  constructor (fileName) {
    super(`Service file ${fileName} not found`)
    this.name = 'ServiceFileNotFoundException'
    this.stack = (new Error()).stack
  }
}