namespace Fantasy.Network
{
///
/// 定义 Fantasy 框架中的内部错误代码。
///
public class InnerErrorCode
{
private InnerErrorCode() { }
///
/// 表示 Rpc 消息发送失败的错误代码。
///
public const uint ErrRpcFail = 100000002;
///
/// 表示未找到 Route 消息的错误代码。
///
public const uint ErrNotFoundRoute = 100000003;
///
/// 表示发送 Route 消息超时的错误代码。
///
public const uint ErrRouteTimeout = 100000004;
///
/// 表示未找到实体的错误代码。
///
public const uint ErrEntityNotFound = 100000008;
///
/// 表示传送过程中发生错误的错误代码。
///
public const uint ErrTransfer = 100000009;
///
/// 表示连接Roaming时候已经存在同RoamingType的Roaming了。
///
public const uint ErrLinkRoamingAlreadyExists = 100000009;
///
/// 表示连接Roaming时候在漫游终端已经存在同Id的终端。
///
public const uint ErrAddRoamingTerminalAlreadyExists = 100000010;
///
/// 表示未找到 Roaming 消息的错误代码。
///
public const uint ErrNotFoundRoaming = 100000011;
///
/// 表示发送 Roaming 消息超时的错误代码。
///
public const uint ErrRoamingTimeout = 100000012;
///
/// 表示再锁定 Roaming 消息的时候没有找到对应的Session错误代码。
///
public const uint ErrLockTerminusIdNotFoundSession = 100000013;
///
/// 表示再锁定 Roaming 消息的时候没有找到对应的RoamingType错误代码。
///
public const uint ErrLockTerminusIdNotFoundRoamingType = 100000014;
///
/// 表示再解除锁定 Roaming 消息的时候没有找到对应的Session错误代码。
///
public const uint ErrUnLockTerminusIdNotFoundSession = 100000015;
///
/// 表示再解除锁定 Roaming 消息的时候没有找到对应的RoamingType错误代码。
///
public const uint ErrUnLockTerminusIdNotFoundRoamingType = 100000016;
///
/// 表示再传送 Terminus 时对应的错误代码。
///
public const uint ErrTerminusStartTransfer = 100000017;
}
}