update commnad name

This commit is contained in:
duanfuxiang
2025-04-24 16:22:46 +08:00
parent 96b9fcef3b
commit ecbe1725aa
9 changed files with 191 additions and 191 deletions

View File

@@ -12,9 +12,9 @@ export class DatabaseNotInitializedException extends DatabaseException {
}
}
export class DuplicateTemplateException extends DatabaseException {
constructor(templateName: string) {
super(`Template with name "${templateName}" already exists`)
this.name = 'DuplicateTemplateException'
export class DuplicateCommandException extends DatabaseException {
constructor(commandName: string) {
super(`Command with name "${commandName}" already exists`)
this.name = 'DuplicateCommandException'
}
}