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

26 lines
597 B
C#

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())
{
}
}
}