StationObscurum/Assets/Adobe/Substance3DForUnity/Runtime/Scripts/Exceptions/SubstanceException.cs

26 lines
597 B
C#
Raw Normal View History

2023-04-11 05:58:47 +02:00
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using UnityEngine;
namespace Adobe.Substance
{
public class SubstanceNotInitializedException : Exception
{
}
public class SubstanceEngineNotFoundException : Exception
{
public SubstanceEngineNotFoundException(string engine) : base($"Substance engine not found {engine}")
{
}
}
public class SubstanceException : Exception
{
internal SubstanceException(ErrorCode code) : base(code.GetMessage())
{
}
}
}