mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-19 18:01:37 +00:00
15 lines
327 B
PHP
Executable File
15 lines
327 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Exceptions;
|
|
|
|
use App\Models\SourceControl;
|
|
use Exception;
|
|
|
|
class SourceControlIsNotConnected extends Exception
|
|
{
|
|
public function __construct(protected SourceControl|string $sourceControl, string $message = null)
|
|
{
|
|
parent::__construct($message ?? 'Source control is not connected');
|
|
}
|
|
}
|