TapCommon-Unity/Runtime/Public/TapException.cs

24 lines
434 B
C#
Raw Permalink Normal View History

2023-07-07 17:34:40 +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;
}
}
}