Skip to content

Commit

Permalink
update for the next release
Browse files Browse the repository at this point in the history
  • Loading branch information
ClicShopping committed Dec 20, 2021
1 parent d435c66 commit 74d8539
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace PhpXmlRpc\Exception;

class HttpException extends PhpXmlrpcException
{
protected $statusCode;

public function __construct($message = "", $code = 0, $previous = null, $statusCode = null)
{
parent::__construct($message, $code, $previous);
$this->statusCode = $statusCode;
}

public function statusCode()
{
return $this->statusCode;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

namespace PhpXmlRpc\Exception;

class PhpXmlrpcException extends \Exception
{
}

0 comments on commit 74d8539

Please sign in to comment.