Class AssetNotFoundException
The exception that is thrown when there is no asset at a path. A type of its own, so the wording cannot drift and a caller that only asks can catch this and nothing else: a file that exists but will not open is a different failure.
public class AssetNotFoundException : FileNotFoundException, ISerializable
- Inheritance
-
AssetNotFoundException
- Implements
- Inherited Members
Constructors
AssetNotFoundException(string, Exception?)
The exception that is thrown when there is no asset at a path. A type of its own, so the wording cannot drift and a caller that only asks can catch this and nothing else: a file that exists but will not open is a different failure.
public AssetNotFoundException(string assetPath, Exception? innerException = null)