refactor: 命令处理基础

This commit is contained in:
RockChinQ
2024-01-28 00:16:42 +08:00
parent f10af09bd2
commit 2a0cf57303
10 changed files with 286 additions and 22 deletions

12
pkg/command/errors.py Normal file
View File

@@ -0,0 +1,12 @@
class CommandError(Exception):
pass
class CommandNotFoundError(CommandError):
pass
class CommandPrivilegeError(CommandError):
pass