blob: c2b3f68eecce06debc2100462676143e3d970926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System;
namespace StardewModdingAPI.Toolkit.Serialization
{
/// <summary>A format exception which provides a user-facing error message.</summary>
internal class SParseException : FormatException
{
/*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
/// <param name="message">The error message.</param>
/// <param name="ex">The underlying exception, if any.</param>
public SParseException(string message, Exception? ex = null)
: base(message, ex) { }
}
}
|