diff --git a/src/Network/HTTPException.php b/src/Network/HTTPException.php new file mode 100644 index 0000000000..eec4a9ced2 --- /dev/null +++ b/src/Network/HTTPException.php @@ -0,0 +1,23 @@ +httpdesc == "") { + $this->httpdesc = preg_replace("|([a-z])([A-Z])|",'$1 $2', str_replace("Exception","",get_class($this))); + } + parent::__construct($message, $code, $previous); + } +} diff --git a/src/Network/HTTPException/BadGatewayException.php b/src/Network/HTTPException/BadGatewayException.php new file mode 100644 index 0000000000..1bb8b29e98 --- /dev/null +++ b/src/Network/HTTPException/BadGatewayException.php @@ -0,0 +1,10 @@ +