Parent class for errors.
export declare class DateFormatError extends Error
type: "warning" do not necessarily indicate that the parser encountered an error. In addition to a human-friendly
message, may also includes the
token at which the error was encountered.
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the