diff options
Diffstat (limited to 'lib/public/LanguageModel/Events/TaskFailedEvent.php')
-rw-r--r-- | lib/public/LanguageModel/Events/TaskFailedEvent.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/public/LanguageModel/Events/TaskFailedEvent.php b/lib/public/LanguageModel/Events/TaskFailedEvent.php deleted file mode 100644 index f42203a6e48..00000000000 --- a/lib/public/LanguageModel/Events/TaskFailedEvent.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php - -namespace OCP\LanguageModel\Events; - -use OCP\LanguageModel\ILanguageModelTask; - -/** - * @since 27.1.0 - */ -class TaskFailedEvent extends AbstractLanguageModelEvent { - /** - * @param ILanguageModelTask $task - * @param string $errorMessage - * @since 27.1.0 - */ - public function __construct( - ILanguageModelTask $task, - private string $errorMessage, - ) { - parent::__construct($task); - } - - /** - * @return string - * @since 27.1.0 - */ - public function getErrorMessage(): string { - return $this->errorMessage; - } -} |