Nextcloud-App/lib/Exceptions/RoomNotFoundException.php

14 lines
239 B
PHP

<?php
namespace OCA\UPschooling\Exceptions;
use OC\OCS\Exception;
use OC\OCS\Result;
class RoomNotFoundException extends Exception {
public function __construct()
{
parent::__construct(new Result(null, 404, 'Room not found'));
}
}