Skip to content

Commit ea4f0d6

Browse files
committed
Create ClientException.php
1 parent d1355dd commit ea4f0d6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/Classes/ClientException.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
/**
3+
* @author : Jakiboy
4+
* @package : FloatPHP
5+
* @subpackage : Exceptions Component
6+
* @version : 1.3.x
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <[email protected]>
8+
* @link : https://floatphp.com
9+
* @license : MIT
10+
*
11+
* This file if a part of FloatPHP Framework.
12+
*/
13+
14+
declare(strict_types=1);
15+
16+
namespace FloatPHP\Exceptions\Classes;
17+
18+
final class ClientException extends \Exception
19+
{
20+
public static function invalidGateway() : string
21+
{
22+
return 'Invalid Http Gateway (Missing cURL and Stream functions)';
23+
}
24+
}

0 commit comments

Comments
 (0)