Skip to content

Commit 3bac924

Browse files
committed
Upgrade
1 parent b14823d commit 3bac924

8 files changed

+29
-9
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "floatphp/exceptions",
3-
"version" : "1.3.3",
3+
"version" : "1.4.0",
44
"type": "library",
55
"description": "FloatPHP Exceptions Components",
66
"keywords": ["floatphp","micro-framework","framework","PSR","ORM","jakiboy"],

src/Classes/ClientException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : Exceptions Component
6-
* @version : 1.3.x
6+
* @version : 1.4.x
77
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <[email protected]>
88
* @link : https://floatphp.com
99
* @license : MIT

src/Classes/RouterException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : Exceptions Component
6-
* @version : 1.3.x
6+
* @version : 1.4.x
77
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <[email protected]>
88
* @link : https://floatphp.com
99
* @license : MIT

src/Helpers/CacheException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : Exceptions Component
6-
* @version : 1.3.x
6+
* @version : 1.4.x
77
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <[email protected]>
88
* @link : https://floatphp.com
99
* @license : MIT

src/Helpers/ConfigurableException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : Exceptions Component
6-
* @version : 1.3.x
6+
* @version : 1.4.x
77
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <[email protected]>
88
* @link : https://floatphp.com
99
* @license : MIT

src/Helpers/CrawlerException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : Exceptions Component
6-
* @version : 1.3.x
6+
* @version : 1.4.x
77
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <[email protected]>
88
* @link : https://floatphp.com
99
* @license : MIT

src/Kernel/ConfigurationException.php renamed to src/Kernel/ConfigException.php

+22-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : Exceptions Component
6-
* @version : 1.3.x
6+
* @version : 1.4.x
77
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <[email protected]>
88
* @link : https://floatphp.com
99
* @license : MIT
@@ -15,8 +15,28 @@
1515

1616
namespace FloatPHP\Exceptions\Kernel;
1717

18-
class ConfigurationException extends \Exception
18+
class ConfigException extends \Exception
1919
{
20+
public static function invalidConfigFile(string $file) : string
21+
{
22+
return "Couldn't find app configuration file: '{$file}'";
23+
}
24+
25+
public static function invalidConfigFormat(string $schema) : string
26+
{
27+
return "Invalid app configuration JSON format: '{$schema}'";
28+
}
29+
30+
public static function invalidConfig(string $error, string $schema) : string
31+
{
32+
return "Invalid app configuration: '{$error}' in '{$schema}'";
33+
}
34+
35+
public static function undefinedAppDir() : string
36+
{
37+
return 'Undefined global __APP_';
38+
}
39+
2040
public static function invalidApplicationConfiguration($error) : string
2141
{
2242
return "Invalid Application Configuration : {$error}";

src/Kernel/OrmException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : Exceptions Component
6-
* @version : 1.3.x
6+
* @version : 1.4.x
77
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <[email protected]>
88
* @link : https://floatphp.com
99
* @license : MIT

0 commit comments

Comments
 (0)