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.
13 lines
359 B
13 lines
359 B
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; |
|
} |
|
}
|
|
|