websoft9/appmanage/api/exception/command_exception.py

11 lines
227 B
Python
Raw Normal View History

2023-04-14 10:51:29 +08:00
class CommandException(Exception):
2023-04-14 16:41:43 +08:00
def __init__(self, code, message, detail):
self.code = code
self.message = message
2023-08-23 17:57:23 +08:00
self.detail = detail
class MissingConfigException(CommandException):
pass