UNPKG

@hexadrop/command

Version:

Hexagonal architecture utils library

2 lines 419 B
import e from"@hexadrop/error/invalid-argument";var r=class extends e{constructor(a){super(`The command '${a}' hasn't a command handler associated`,"CommandNotRegisteredError","HEX(500)")}};import s from"@hexadrop/error";var o=class extends s{constructor(){super("InvalidCommandError","The command hasn't an 'COMMAND_NAME' static property","HEX(500)")}};export{r as a,o as b}; //# sourceMappingURL=chunk-IPU6EBNI.js.map