Skip to content

Commit 17b5513

Browse files
committed
feat(NetWork): 添加执行超时错误码
为网络操作错误码添加超时错误码(18),用于处理执行超时情况
1 parent d267efe commit 17b5513

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

GameFrameX.NetWork/OperationErrorCode.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,10 @@ public static class OperationErrorCode
143143
/// </summary>
144144
[System.ComponentModel.Description("没有权限")]
145145
public const int NoPermission = 17;
146+
147+
/// <summary>
148+
/// 执行超时 / Execution timeout
149+
/// </summary>
150+
[System.ComponentModel.Description("执行超时")]
151+
public const int TimeOut = 18;
146152
}

0 commit comments

Comments
 (0)