. * */ namespace Friendica\Network; use Exception; /** * Throwable exceptions to return HTTP status code * * This list of Exception has been extracted from * here http://racksburg.com/choosing-an-http-status-code/ */ abstract class HTTPException extends Exception { public $httpdesc = ''; public $explanation = ''; public function __construct($message = '', Exception $previous = null) { parent::__construct($message, $this->code, $previous); } }