Commit a1ee23a1 by yeran

commit

1 parent 0a355e08
......@@ -3,7 +3,7 @@
"description": "Phalcon",
"keywords": ["phwoolcon"],
"type": "library",
"version": "1.0.8",
"version": "1.0.9",
"license": "proprietary",
"authors": [
{
......
......@@ -11,7 +11,7 @@ use Throwable;
class ApiException extends \Exception
{
public function __construct($message = '', int $code = 0, Throwable $previous = null)
public function __construct($message = '', int $code = -1, Throwable $previous = null)
{
if (empty($message)) {
$errorCode = ErrorCodes::getCodeMsg($code);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!