Tetra/Minesweeper/Library/PackageCache/com.unity.localization/Editor/AddressableEntryNotFoundException.cs
2025-05-01 01:48:08 -07:00

21 lines
670 B
C#

using System;
namespace UnityEditor.Localization
{
/// <summary>
/// This exception is thrown when an asset is expected to be part of the Addressables system.
/// The Localization system uses Addressables for loading Locales, Tables and Table Assets.
/// </summary>
public class AddressableEntryNotFoundException : Exception
{
/// <summary>
/// Creates a new instance of the exception.
/// </summary>
/// <param name="target"></param>
public AddressableEntryNotFoundException(UnityEngine.Object target) :
base($"{target.name} could not find an Addressable asset.")
{
}
}
}