mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 15:32:35 +00:00
Merge (#127)
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class BackupFileException extends Exception
|
||||
{
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class CannotDeployKey extends Exception
|
||||
{
|
||||
//
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class ComposerInstallFailed extends Exception
|
||||
{
|
||||
//
|
||||
}
|
9
app/Exceptions/DeploymentScriptIsEmptyException.php
Normal file
9
app/Exceptions/DeploymentScriptIsEmptyException.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class DeploymentScriptIsEmptyException extends Exception
|
||||
{
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class ErrorUpdatingRedirects extends Exception
|
||||
{
|
||||
//
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class InstallationFailed extends Exception
|
||||
{
|
||||
//
|
||||
}
|
8
app/Exceptions/SSHCommandError.php
Executable file
8
app/Exceptions/SSHCommandError.php
Executable file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
class SSHCommandError extends SSHError
|
||||
{
|
||||
//
|
||||
}
|
@ -2,9 +2,7 @@
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class SSHConnectionError extends Exception
|
||||
class SSHConnectionError extends SSHError
|
||||
{
|
||||
//
|
||||
}
|
||||
|
2
app/Exceptions/ProcessFailed.php → app/Exceptions/SSHError.php
Normal file → Executable file
2
app/Exceptions/ProcessFailed.php → app/Exceptions/SSHError.php
Normal file → Executable file
@ -4,7 +4,7 @@
|
||||
|
||||
use Exception;
|
||||
|
||||
class ProcessFailed extends Exception
|
||||
class SSHError extends Exception
|
||||
{
|
||||
//
|
||||
}
|
@ -4,7 +4,7 @@
|
||||
|
||||
use Exception;
|
||||
|
||||
class FailedToInstallWordpress extends Exception
|
||||
class ServiceInstallationFailed extends Exception
|
||||
{
|
||||
//
|
||||
}
|
@ -2,13 +2,8 @@
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use App\Models\SourceControl;
|
||||
use Exception;
|
||||
|
||||
class SourceControlIsNotConnected extends Exception
|
||||
{
|
||||
public function __construct(protected SourceControl|string|null $sourceControl, ?string $message = null)
|
||||
{
|
||||
parent::__construct($message ?? 'Source control is not connected');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user