using System; using Microsoft.Xna.Framework.Content; namespace StardewModdingAPI.Framework.Exceptions { /// An implementation of used by SMAPI to detect whether it was thrown by SMAPI or the underlying framework. internal class SContentLoadException : ContentLoadException { /********* ** Public methods *********/ /// Construct an instance. /// The error message. /// The underlying exception, if any. public SContentLoadException(string message, Exception? ex = null) : base(message, ex) { } } }