summaryrefslogtreecommitdiff
path: root/plugins/jobs/oooold/tests/Jobs/Sqs/ErrorJob.php
blob: 738b9f2b70f18f0049020bea16d075011f22c2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

/**
 * Spiral Framework.
 *
 * @license   MIT
 * @author    Anton Titov (Wolfy-J)
 */

declare(strict_types=1);

namespace Spiral\Jobs\Tests\Sqs;

use Spiral\Jobs\JobHandler;

class ErrorJob extends JobHandler
{
    public function invoke(string $id): void
    {
        throw new \Error('something is wrong');
    }
}