Files
Mementos/Unity/Alternate Genre Jam/Assets/Ink/InkLibs/InkRuntime/StoryException.cs
2021-06-30 21:39:19 +10:00

25 lines
789 B
C#

namespace Ink.Runtime
{
/// <summary>
/// Exception that represents an error when running a Story at runtime.
/// An exception being thrown of this type is typically when there's
/// a bug in your ink, rather than in the ink engine itself!
/// </summary>
public class StoryException : System.Exception
{
public bool useEndLineNumber;
/// <summary>
/// Constructs a default instance of a StoryException without a message.
/// </summary>
public StoryException () { }
/// <summary>
/// Constructs an instance of a StoryException with a message.
/// </summary>
/// <param name="message">The error message.</param>
public StoryException(string message) : base(message) {}
}
}