diff options
Diffstat (limited to 'src/SMAPI.ModBuildConfig/Framework/UserErrorException.cs')
-rw-r--r-- | src/SMAPI.ModBuildConfig/Framework/UserErrorException.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig/Framework/UserErrorException.cs b/src/SMAPI.ModBuildConfig/Framework/UserErrorException.cs new file mode 100644 index 00000000..64e31c29 --- /dev/null +++ b/src/SMAPI.ModBuildConfig/Framework/UserErrorException.cs @@ -0,0 +1,16 @@ +using System; + +namespace StardewModdingAPI.ModBuildConfig.Framework +{ + /// <summary>A user error whose message can be displayed to the user.</summary> + internal class UserErrorException : Exception + { + /********* + ** Public methods + *********/ + /// <summary>Construct an instance.</summary> + /// <param name="message">The error message.</param> + public UserErrorException(string message) + : base(message) { } + } +} |