summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/OCS/Exception.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/OCS/Exception.php b/lib/private/OCS/Exception.php
index 58b13f52df9..485c5c4d40f 100644
--- a/lib/private/OCS/Exception.php
+++ b/lib/private/OCS/Exception.php
@@ -25,7 +25,11 @@ namespace OC\OCS;
class Exception extends \Exception {
+ /** @var Result */
+ private $result;
+
public function __construct(Result $result) {
+ parent::__construct();
$this->result = $result;
}