summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/IncompatibleInstructionException.cs
blob: 1f9add3078dbc456d23be9503f888a8e226d9c89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;

namespace StardewModdingAPI.Framework.ModLoading
{
    /// <summary>An exception raised when an incompatible instruction is found while loading a mod assembly.</summary>
    internal class IncompatibleInstructionException : Exception
    {
        /*********
        ** Public methods
        *********/
        /// <summary>Construct an instance.</summary>
        public IncompatibleInstructionException()
            : base("Found incompatible CIL instructions.") { }

        /// <summary>Construct an instance.</summary>
        /// <param name="message">A message which describes the error.</param>
        public IncompatibleInstructionException(string message)
            : base(message) { }
    }
}