1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- declare(strict_types=1);
- namespace OCP\SpeechToText\Events;
- use OCP\Files\File;
- class TranscriptionFailedEvent extends AbstractTranscriptionEvent {
-
- public function __construct(
- int $fileId,
- ?File $file,
- private string $errorMessage,
- ?string $userId,
- string $appId,
- ) {
- parent::__construct($fileId, $file, $userId, $appId);
- }
-
- public function getErrorMessage(): string {
- return $this->errorMessage;
- }
- }
|