import { Command } from './Command' ; export class CommandNotRegisteredError extends Error { constructor ( command ) { super ( `The command <${ command . constructor . name }> hasn't a command handler associated` ) ; } }