using System; namespace StardewModdingAPI.Framework.ModLoading { /// An exception which indicates that something went seriously wrong while loading mods, and SMAPI should abort outright. public class InvalidModStateException : Exception { /// Construct an instance. /// The error message. /// The underlying exception, if any. public InvalidModStateException(string message, Exception ex = null) : base(message, ex) { } } }