PackException.cs 517 B

123456789101112
  1. using System;
  2. using UnityEditor;
  3. using UnityEngine;
  4. namespace Pack
  5. {
  6. public class PackException : Exception
  7. {
  8. public PackException(string message) : base((Application.isBatchMode ? (PackConstant.TAG_EXCEPTION_START + message + PackConstant.TAG_EXCEPTION_END) : message)) { }
  9. public PackException(string message, Exception innerException) : base((Application.isBatchMode ? (PackConstant.TAG_EXCEPTION_START + message + PackConstant.TAG_EXCEPTION_END) : message), innerException) { }
  10. }
  11. }