diff --git a/lib/Errors/OrganizationRoleNotFound.php b/lib/Errors/OrganizationRoleNotFound.php index baa3021..452bf70 100644 --- a/lib/Errors/OrganizationRoleNotFound.php +++ b/lib/Errors/OrganizationRoleNotFound.php @@ -4,6 +4,6 @@ namespace OCA\OrganizationFolders\Errors; class OrganizationRoleNotFound extends NotFoundException { public function __construct($provider, $id) { - parent::__construct(OCA\OrganizationFolders\Model\OrganizationRole::class, ["provider" => $provider, "id" => $id]); + parent::__construct(\OCA\OrganizationFolders\Model\OrganizationRole::class, ["provider" => $provider, "id" => $id]); } } \ No newline at end of file diff --git a/lib/Errors/ResourceMemberNotFound.php b/lib/Errors/ResourceMemberNotFound.php new file mode 100644 index 0000000..26999ea --- /dev/null +++ b/lib/Errors/ResourceMemberNotFound.php @@ -0,0 +1,9 @@ + $id]); + } +} \ No newline at end of file diff --git a/lib/Errors/ResourceNotFound.php b/lib/Errors/ResourceNotFound.php index 3897431..8fb3e85 100644 --- a/lib/Errors/ResourceNotFound.php +++ b/lib/Errors/ResourceNotFound.php @@ -4,6 +4,6 @@ namespace OCA\OrganizationFolders\Errors; class ResourceNotFound extends NotFoundException { public function __construct($id) { - parent::__construct(OCA\OrganizationFolders\Db\Resource::class, ["id" => $id]); + parent::__construct(\OCA\OrganizationFolders\Db\Resource::class, ["id" => $id]); } } \ No newline at end of file