nextcloud/lib/private/OCS/Exception.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
396 B
PHP
Raw Normal View History

2015-08-03 12:06:07 -04:00
<?php
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
2015-08-03 12:06:07 -04:00
*/
namespace OC\OCS;
class Exception extends \Exception {
public function __construct(
private Result $result,
) {
parent::__construct();
2015-08-03 12:06:07 -04:00
}
public function getResult(): Result {
2015-08-03 12:06:07 -04:00
return $this->result;
}
}