You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
359 B
14 lines
359 B
1 year ago
|
namespace StabilityMatrix.Core.Exceptions;
|
||
|
|
||
|
public abstract class PromptError : ApplicationException
|
||
|
{
|
||
|
public int TextOffset { get; }
|
||
|
public int TextEndOffset { get; }
|
||
|
|
||
|
protected PromptError(string message, int textOffset, int textEndOffset) : base(message)
|
||
|
{
|
||
|
TextOffset = textOffset;
|
||
|
TextEndOffset = textEndOffset;
|
||
|
}
|
||
|
}
|