mirror of
https://github.com/Ratstail91/Mementos.git
synced 2025-11-29 02:24:28 +11:00
25 lines
789 B
C#
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) {}
|
|
}
|
|
}
|
|
|