using System; namespace UnityEditor.Localization { /// /// This exception is thrown when an asset is expected to be persistent(saved on disk) but it is not. /// public class AssetNotPersistentException : Exception { /// /// Creates a new instance of the exception. /// /// public AssetNotPersistentException(UnityEngine.Object target) : base($"{target.name} is not persistent. The object needs to be saved to disk.") { } } }