diff options
author | Kyomotoi <[email protected]> | 2020-10-18 15:22:16 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2020-10-18 15:22:16 +0800 |
commit | e96c42ef2006e052dc334c1cc1771e546f357fae (patch) | |
tree | f1f813573396f0b7ecd005bed8b8bfb54f355a72 /utils/utils_error | |
parent | 9b1384577c16486f8ea21632a0cee50e05fd43ad (diff) | |
download | ATRI-e96c42ef2006e052dc334c1cc1771e546f357fae.tar.gz ATRI-e96c42ef2006e052dc334c1cc1771e546f357fae.tar.bz2 ATRI-e96c42ef2006e052dc334c1cc1771e546f357fae.zip |
[Update]
Diffstat (limited to 'utils/utils_error')
-rw-r--r-- | utils/utils_error/__init__.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/utils/utils_error/__init__.py b/utils/utils_error/__init__.py index e037b30..2674018 100644 --- a/utils/utils_error/__init__.py +++ b/utils/utils_error/__init__.py @@ -1,5 +1,14 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- +# -*- encoding: utf-8 -*- +''' +@File : __init__.py +@Time : 2020/10/11 14:43:10 +@Author : Kyomotoi +@Contact : [email protected] +@Github : https://github.com/Kyomotoi +@License : Copyright © 2018-2020 Kyomotoi, All Rights Reserved. +''' +__author__ = 'kyomotoi' import json import string @@ -9,8 +18,6 @@ from typing import Optional from datetime import datetime from traceback import format_exc -from nonebot.rule import keyword - def errorRepo(repo_msg: Optional[str] = None) -> str: """ :说明: @@ -23,7 +30,7 @@ def errorRepo(repo_msg: Optional[str] = None) -> str: :返回: - 错误信息 + 错误堆栈 :用法: |