Files
laravel-data-sync/src/Exceptions/ErrorUpdatingModelException.php
2020-03-17 14:01:56 -04:00

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.";
}
}