SamsonGame/Assets/Scripts/Core/Exceptions/NullResourcesLoadException.cs

13 lines
359 B
C#
Raw Normal View History

2021-12-29 20:50:11 +03:00
using System;
public class NullResourcesLoadException : Exception
{
public NullResourcesLoadException(string message) : base(message)
{
}
public NullResourcesLoadException(string path, Exception innerException) :
base(String.Format("The file on this path does not exist in the resources {0}", path), innerException)
{
}
}