zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/ServiceCircularReferenceException.js

Summary

Maintainability
A
55 mins
Test Coverage
A
100%
export default class ServiceCircularReferenceException extends Error {
  constructor () {
    super('Circular reference detected')
    this.name = 'ServiceCircularReferenceException'
    this.stack = (new Error()).stack
  }
}