function ParseException::__construct
Parameters
string $rawMessage The error message:
int $parsedLine The line where the error occurred:
string|null $snippet The snippet of code near the problem:
string|null $parsedFile The file name where the error occurred:
File
-
vendor/
symfony/ yaml/ Exception/ ParseException.php, line 27
Class
- ParseException
- Exception class thrown when an error occurs during parsing.
Namespace
Symfony\Component\Yaml\ExceptionCode
public function __construct(string $rawMessage, int $parsedLine = -1, ?string $snippet = null, ?string $parsedFile = null, ?\Throwable $previous = null) {
$this->updateRepr();
parent::__construct($this->message, 0, $previous);
}