libresign/lib/Exception/LibresignException.php
Vitor Mattos 45cd3c374d
chore: Add SPDX header
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-05-14 12:32:04 -03:00

20 lines
412 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Libresign\Exception;
use JsonSerializable;
/**
* @codeCoverageIgnore
*/
class LibresignException extends \Exception implements JsonSerializable {
public function jsonSerialize(): mixed {
return ['message' => $this->getMessage()];
}
}