<?php
declare(strict_types=1);
namespace DoctrineDBALDriverOCI8Exception;
use DoctrineDBALDriverAbstractException;
use function sprintf;
/** @internal */
final class NonTerminatedStringLiteral extends AbstractException
{
public static function new(int $offset): self
{
return new self(
sprintf(
'The statement contains non-terminated string literal starting at offset %d.',
$offset,
),
);
}
}