zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/WrongDefinitionException.js

Summary

Maintainability
A
55 mins
Test Coverage
A
100%
export default class WrongDefinitionException extends Error {
  constructor () {
    super('You cannot register not valid definition')
    this.name = 'WrongDefinitionException'
    this.stack = (new Error()).stack
  }
}