# sync-basalam/1.10.0/includes/Jobs/Exceptions/JobException.php

ووسلام – همگام سازی ووکامرس و باسلام, version 1.10.0. 23 lines.

- Page: https://pluginprobe.com/plugins/sync-basalam/1.10.0/code/includes/Jobs/Exceptions/JobException.php
- Raw: https://pluginprobe.com/plugins/sync-basalam/1.10.0/raw/includes/Jobs/Exceptions/JobException.php
- Modified: 2026-07-11T07:54:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sync-basalam/1.10.0/code/includes/Jobs/Exceptions/JobException.php#L10-L20`.

```php
<?php

namespace SyncBasalam\Jobs\Exceptions;

use Exception;

defined('ABSPATH') || exit;

abstract class JobException extends Exception
{
    abstract public function shouldRetry(): bool;

    public function getErrorContext(): array
    {
        return [
            'message' => $this->getMessage(),
            'code' => $this->getCode(),
            'file' => $this->getFile(),
            'line' => $this->getLine(),
        ];
    }
}

```
