We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea4f0d6 commit 4b838bdCopy full SHA for 4b838bd
src/Helpers/CrawlerException.php
@@ -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\Helpers;
17
18
+class CrawlerException extends \Exception
19
+{
20
+ public static function insufficientResources(int $cores = 2) : string
21
+ {
22
+ return "Insufficient server resources: Ensure adequate memory and CPU cores ({$cores}) are available";
23
+ }
24
+}
0 commit comments