0
0
Fork 0
mirror of https://github.com/verdigado/organization_folders.git synced 2024-11-22 04:38:09 +01:00

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");
}
}