UserNotFoundException
extends Exception
in package
The class UserNotFoundException is thrown when no user is found.
Tags
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