Files
domain-watchdog/src/Exception/UnsupportedDsnSchemeException.php

12 lines
284 B
PHP
Raw Normal View History

<?php
namespace App\Exception;
class UnsupportedDsnSchemeException extends \Exception
{
public static function fromScheme(string $scheme): UnsupportedDsnSchemeException
{
return new UnsupportedDsnSchemeException("The DSN scheme ($scheme) is not supported");
}
}