TapCommon-Unity/Runtime/Public/TapException.cs

24 lines
434 B
C#
Raw Normal View History

2023-11-07 17:13:22 +08:00
using System;
namespace TapTap.Common
{
public class TapException : Exception
{
public int code;
public int Code {
get => code;
set {
code = value;
}
}
public string message;
public TapException(int code, string message) : base(message)
{
this.code = code;
this.message = message;
}
}
}