Nextcloud PHP API (master)

TaskFailedEvent extends AbstractTextToImageEvent
in package

Base event class for the event dispatcher service

Tags
since
28.0.0

Table of Contents

Properties

$errorMessage  : string
$propagationStopped  : bool
$task  : Task

Methods

__construct()  : mixed
Compatibility constructor
getErrorMessage()  : string
getTask()  : Task
isPropagationStopped()  : bool
{@inheritDoc}
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Properties

$propagationStopped

private bool $propagationStopped = false
Tags
since
22.0.0

Methods

__construct()

Compatibility constructor

public __construct(Task $task, string $errorMessage) : mixed
Parameters
$task : Task
$errorMessage : string
Tags
since
28.0.0

getErrorMessage()

public getErrorMessage() : string
Tags
since
28.0.0
Return values
string

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Return values
bool

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0

        
On this page

Search results