42 return $
"{message} at {position.GetExcerpt(10, 10)} in {position.GetPositionInfo()}";
Base Class for all BadScript Parser Exceptions.
BadParseException(string message, BadSourcePosition position)
Constructor for the BadParseException.
static string GetMessage(string message, BadSourcePosition position)
Returns a string that represents the error message with the source position.
BadParseException(string message, BadSourcePosition position, Exception inner)
Constructor for the BadParseException.
The base class of all BadScript Exceptions.
Describes a specific position inside a source file.
Contains Shared Data Structures and Functionality.