zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/MethodCallNotFoundException.js

Summary

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