Nextcloud PHP API (master)

UserNotFoundException extends Exception
in package

The class UserNotFoundException is thrown when no user is found.

Tags
since
35.0.0
Attributes
#[Catchable]
$since: '35.0.0'
#[Throwable]
$since: '35.0.0'

Table of Contents

Methods

createForUser()  : self
Return a UserNotFoundException with a standard error message.

Methods

createForUser()

Return a UserNotFoundException with a standard error message.

public static createForUser(string $userId[, Exception|null $previous = null ]) : self
Parameters
$userId : string
$previous : Exception|null = null
Tags
since
35.0.0
Return values
self
On this page

Search results