ro-webgl/Assets/Editor/Pack/PackException.cs

12 lines
528 B
C#
Raw Permalink Normal View History

2021-12-21 09:40:39 +08:00
using System;
using UnityEditor;
using UnityEngine;
namespace Pack
{
public class PackException : Exception
{
public PackException(string message) : base((Application.isBatchMode ? (PackConstant.TAG_EXCEPTION_START + message + PackConstant.TAG_EXCEPTION_END) : message)) { }
public PackException(string message, Exception innerException) : base((Application.isBatchMode ? (PackConstant.TAG_EXCEPTION_START + message + PackConstant.TAG_EXCEPTION_END) : message), innerException) { }
}
}