zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/FrozenContainerException.js

Summary

Maintainability
A
55 mins
Test Coverage
A
100%
export default class FrozenContainerException extends Error {
  constructor () {
    super('You cannot register more services when the container is frozen')
    this.name = 'FrozenContainerException'
    this.stack = (new Error()).stack
  }
}