Files
laravel-data-sync/src/Exceptions/NoRecordsInvalidJSONException.php
2019-06-20 16:23:30 +00:00

17 lines
389 B
PHP

<?php
namespace distinctm\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.";
}
}