ExceptionInterface.php
4 years ago
IncompleteDsnException.php
1 year ago
InvalidArgumentException.php
4 years ago
InvalidResourceException.php
4 years ago
LogicException.php
4 years ago
MissingRequiredOptionException.php
1 year ago
NotFoundResourceException.php
4 years ago
ProviderException.php
1 year ago
ProviderExceptionInterface.php
1 year ago
RuntimeException.php
4 years ago
UnsupportedSchemeException.php
1 year ago
index.php
3 years ago
IncompleteDsnException.php
14 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\Translation\Exception; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | class IncompleteDsnException extends InvalidArgumentException |
| 5 | { |
| 6 | public function __construct(string $message, ?string $dsn = null, ?\Throwable $previous = null) |
| 7 | { |
| 8 | if ($dsn) { |
| 9 | $message = \sprintf('Invalid "%s" provider DSN: ', $dsn) . $message; |
| 10 | } |
| 11 | parent::__construct($message, 0, $previous); |
| 12 | } |
| 13 | } |
| 14 |