<?php

namespace App\Services\AutoCount\Exceptions;

class JobTimeoutException extends AutoCountJobException
{
    public function __construct(public readonly string $jobId, string $message = '')
    {
        parent::__construct($message !== '' ? $message : "AutoCount job {$jobId} timed out before the worker finished.");
    }
}
