This repository was archived by the owner on Aug 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 88namespace Cyan
99{
1010 /* *
11- * @brief mirai-api-http Òì³£
11+ * @brief mirai-api-http 异常
1212 */
1313 class MiraiApiHttpException : public std ::runtime_error
1414 {
@@ -18,7 +18,7 @@ namespace Cyan
1818 MiraiApiHttpException (int code, const std::string& error_msg) :
1919 Code (code),
2020 Message (error_msg),
21- std::runtime_error (" mirai-api-http ´íÎó : " + error_msg) {}
21+ std::runtime_error (" mirai-api-http 错误 : " + error_msg) {}
2222 virtual ~MiraiApiHttpException () = default ;
2323 };
2424
Original file line number Diff line number Diff line change 77namespace Cyan
88{
99 /* *
10- * @brief ÍøÂç´íÎóÒì³£
10+ * @brief 网络错误异常
1111 */
1212 class NetworkException : public std ::runtime_error
1313 {
1414 public:
15- NetworkException (): std::runtime_error(" ÍøÂç´íÎó ." ) {}
15+ NetworkException (): std::runtime_error(" 网络错误 ." ) {}
1616 virtual ~NetworkException () = default ;
1717 };
1818
Original file line number Diff line number Diff line change 44
55#include "mirai/defs/defs.hpp"
66#include "mirai/events/events.hpp"
7+ #include "mirai/exceptions/exceptions.hpp"
78#include "mirai/mirai_bot.hpp"
89
910#endif // !mirai_cpp__mirai_h_H_
You can’t perform that action at this time.
0 commit comments