/
madarlan
/
pdf-bridge-php
Обзор
Документация
Войти
/
madarlan
/
pdf-bridge-php
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/Exceptions/ConverterNotAvailableException.php
23 строки
545 B
Madinov Arlan
Initial commit
25 окт 2025, 15:27
25 окт 2025, 15:27
0cf92f0
Код
Авторство
О чём код?
<?php namespace MadArlan\PDFBridge\Exceptions; /** * Exception thrown when a PDF converter is not available or properly configured */ class ConverterNotAvailableException extends PDFBridgeException { /** * Create a new converter not available exception instance */ public function __construct(string $converter, ?string $reason = null) { $message = "Converter '$converter' is not available"; if ($reason) { $message .= ": $reason"; } parent::__construct($message); } }