Creates a new TodoParsingError.
Error message.
OptionaltokenIndex: numberOptional index of the token where the error occurred.
OptionalcauseOptionalstackOptionaltokenThe index of the token where the error occurred
Static OptionalprepareOptional override for formatting stack traces
Staticstack
Error class for todo parsing errors. Extends the standard Error class with additional information about where in the token stream the error occurred.