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.
2 parents 9a0ac4d + 0a5a214 commit 1390fc8Copy full SHA for 1390fc8
src/Exceptions/HttpException.php
@@ -3,10 +3,11 @@
3
namespace MacsiDigital\API\Exceptions;
4
5
use Exception;
6
+use Throwable;
7
8
class HttpException extends Exception
9
{
- public function __construct($code = 0, $message, \Throwable $previous = null)
10
+ public function __construct($code = 0, $message = '', Throwable $previous = null)
11
12
parent::__construct('HTTP Request returned Status Code '.$code.'. '.$message);
13
}
0 commit comments