mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
12 lines
284 B
PHP
12 lines
284 B
PHP
<?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");
|
|
}
|
|
}
|