zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/MethodCallEmptyException.js

Summary

Maintainability
A
55 mins
Test Coverage
A
100%
export default class MethodCallEmptyException extends Error {
  constructor () {
    super('Method name cannot be empty')
    this.name = 'MethodCallEmptyException'
    this.stack = (new Error()).stack
  }
}