Nextcloud PHP API (master)

UserFacingProcessingException extends ProcessingException
in package

Exception thrown during processing of a task by a synchronous provider with the possibility to set a user-facing error message

Tags
since
33.0.0
Attributes
#[Consumable]
$since: '33.0.0'

Table of Contents

Properties

$userFacingMessage  : string|null

Methods

__construct()  : mixed
getUserFacingMessage()  : string|null
setUserFacingMessage()  : void

Properties

Methods

__construct()

public __construct([string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ][, string|null $userFacingMessage = null ]) : mixed
Parameters
$message : string = ''
$code : int = 0
$previous : Throwable|null = null
$userFacingMessage : string|null = null
Tags
since
33.0.0

setUserFacingMessage()

public setUserFacingMessage(null|string $userFacingMessage) : void
Parameters
$userFacingMessage : null|string

Must be already translated into the language of the user

Tags
since
33.0.0

        
On this page

Search results