This commit is contained in:
2020-12-17 14:09:14 +08:00
parent 672a719dbd
commit 36c1d0502a
151 changed files with 1937 additions and 2848 deletions
+9 -1
View File
@@ -10,6 +10,7 @@ declare(strict_types=1);
namespace Snowflake\Exception;
use JetBrains\PhpStorm\Pure;
use Throwable;
/**
@@ -19,7 +20,14 @@ use Throwable;
class ComponentException extends \Exception
{
public function __construct(string $message = "", int $code = 0, Throwable $previous = NULL)
/**
* ComponentException constructor.
* @param string $message
* @param int $code
* @param Throwable|null $previous
*/
#[Pure] public function __construct(string $message = "", int $code = 0, Throwable $previous = NULL)
{
parent::__construct($message, 5000, $previous);
}