mirror of
https://github.com/verdigado/organization_folders.git
synced 2024-11-21 20:28:11 +01:00
added InvalidResourceType error
This commit is contained in:
parent
13f8ae0856
commit
d63c0810e3
1 changed files with 9 additions and 0 deletions
9
lib/Errors/InvalidResourceType.php
Normal file
9
lib/Errors/InvalidResourceType.php
Normal 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");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue