zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/LoggerWarnMethodNotFoundException.js

Summary

Maintainability
A
55 mins
Test Coverage
A
100%
export default class LoggerWarnMethodNotFoundException extends Error {
  constructor () {
    super('The logger instance does not implements the warn method')
    this.name = 'LoggerWarnMethodNotFoundException'
    this.stack = (new Error()).stack
  }
}