import HadronErrorHandler from '@brainhubeu/hadron-error-handler' ; export default class IncorrectContainerKeyNameError extends HadronErrorHandler { constructor ( key , err = new Error ( ) ) { super ( ) ; this . message = `The key name '${ key }' is incorrect to register in container, should be a valid variable name.` ; this . name = 'IncorrectContainerKeyNameError' ; this . stack = null ; this . error = err ; } }