mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-01-29 22:46:12 +00:00
17 lines
378 B
PHP
17 lines
378 B
PHP
<?php
|
|
|
|
namespace nullthoughts\LaravelDataSync\Exceptions;
|
|
|
|
use Exception;
|
|
use Throwable;
|
|
|
|
class ErrorUpdatingModelException extends Exception
|
|
{
|
|
public function __construct(string $message = '', int $code = 0, Throwable $previous = null)
|
|
{
|
|
parent::__construct($message, $code, $previous);
|
|
|
|
$this->message = "Error updating the {$message} model.";
|
|
}
|
|
}
|