This repository was archived by the owner on Mar 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathErrorDefine.cs
57 lines (52 loc) · 2.1 KB
/
ErrorDefine.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* 本类用来定义错误列表的内容, 错误列表可以在 https://github.com/DavidSciMeow/MeowMiraiLib/wiki/AP.-3-%E9%94%99%E8%AF%AF%E5%88%97%E8%A1%A8 查询
* --------------------------
* this file is mainly for defines the Error String,
* for detail please click https://github.com/DavidSciMeow/MeowMiraiLib/wiki/AP.-3-%E9%94%99%E8%AF%AF%E5%88%97%E8%A1%A8
*/
namespace MeowMiraiLib
{
/// <summary>
/// 错误列表
/// </summary>
public static class ErrorDefine
{
/// <summary>
/// 没有实例化URL(为空)
/// </summary>
public const string E0001 = "[0001] InitPhase : No Url Specific.";
/// <summary>
/// ECP端已经启动解析方案
/// </summary>
public const string E0002 = "[0002] ECPInitPhase : Task Already Start.";
/// <summary>
/// 全局端未定义
/// </summary>
public const string E0003 = "[0003] ECPInitPhase : Global Client is Null.";
/// <summary>
/// 信息不符合标准要求
/// </summary>
public const string E0012 = "[0012] ParserPhase : Message Typo Error in ";
/// <summary>
/// 没有符合的信息类型
/// </summary>
public const string E0013 = "[0013] ParserPhase : Message Error in ";
/// <summary>
/// 没有最佳的发送选项
/// </summary>
public const string E1000 = "[1000] ContextualSender::SendMsgBack Func : SenderId and GroupId isn't Fit.";
/// <summary>
/// 上下文消息段数字位置超过队列长度
/// </summary>
public const string E1010 = "[1010] ContextualSender::GetPlainMsgAt : Number set is over or less than queue length.";
/// <summary>
/// 全局发送端未定义
/// </summary>
public const string E2000 = "[2000] GlobalErr : Global ConClient NotSet.";
/// <summary>
/// ECP端正在使用全局端作为消息接收器
/// </summary>
public const string E99999 = "[---1] ECPInitPhase : ECP is Using Global Client As Interpreter Input";
}
}