zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/LoadMethodNotFoundException.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
export default class LoadMethodNotFoundException extends Error {
  /**
   * @param {string} extension
   */
  constructor (extension) {
    super(`The extension ${extension} does not have the load method`)
    this.name = 'LoadMethodNotFoundException'
    this.stack = (new Error()).stack
  }
}