public static function createFromTokenizerError(TokenizerException $tokenizerException): self
    {
        return new self(
            $tokenizerException->getSourceLine(),
            0,
            "Tokenization error: " . $tokenizerException->getMessage(),
            self::SEVERITY_ERROR,
            get_class($tokenizerException)
        );
    }