added InvalidResourceType error

This commit is contained in:
Jonathan Treffler 2024-10-15 17:11:40 +02:00
parent 13f8ae0856
commit d63c0810e3

View file

@ -0,0 +1,9 @@
<?php
namespace OCA\OrganizationFolders\Errors;
class InvalidResourceType extends \RuntimeException {
public function __construct(string $type) {
parent::__construct($type . " is not a valid resource type");
}
}