// SPDX-License-Identifier: AGPL-3.0-or-later namespace OCA\UPschooling\Exceptions; use OC\OCS\Exception; use OC\OCS\Result; class TicketNotFoundException extends Exception { public function __construct(int $ticketId) { parent::__construct(new Result(null, 404, 'Ticket with id ' . $ticketId . ' not found')); } }