mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-01-26 03:34:02 +00:00
17 lines
393 B
PHP
17 lines
393 B
PHP
<?php
|
|
|
|
namespace nullthoughts\LaravelDataSync\Exceptions;
|
|
|
|
use Exception;
|
|
use Throwable;
|
|
|
|
class NoRecordsInvalidJSONException extends Exception
|
|
{
|
|
public function __construct(string $message = '', int $code = 0, ?Throwable $previous = null)
|
|
{
|
|
parent::__construct($message, $code, $previous);
|
|
|
|
$this->message = "No records or invalid JSON for {$message} model.";
|
|
}
|
|
}
|