websoft9/appmanage/api/exception/command_exception.py

5 lines
166 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
self.detail = detail