0
0
Fork 0
mirror of https://github.com/verdigado/organization_folders.git synced 2024-12-06 11:22:41 +01:00

added not found errors to be used by organization providers

This commit is contained in:
Jonathan Treffler 2024-10-13 23:04:20 +02:00
parent 38b1406d40
commit 2521a35b2a
6 changed files with 46 additions and 2 deletions

View file

@ -0,0 +1,9 @@
<?php
namespace OCA\OrganizationFolders\Errors;
class OrganizationRoleNotFound extends NotFoundException {
public function __construct($provider, $id) {
parent::__construct(OCA\OrganizationFolders\Model\OrganizationRole::class, ["provider" => $provider, "id" => $id]);
}
}