Added SymlinkException
This commit is contained in:
parent
f6bc814187
commit
f2d2839d0e
1 changed files with 20 additions and 0 deletions
20
src/ncc/Exceptions/SymlinkException.php
Normal file
20
src/ncc/Exceptions/SymlinkException.php
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace ncc\Exceptions;
|
||||||
|
|
||||||
|
use Exception;
|
||||||
|
use ncc\Abstracts\ExceptionCodes;
|
||||||
|
use Throwable;
|
||||||
|
|
||||||
|
class SymlinkException extends Exception
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @param string $message
|
||||||
|
* @param Throwable|null $previous
|
||||||
|
*/
|
||||||
|
public function __construct(string $message = "", ?Throwable $previous = null)
|
||||||
|
{
|
||||||
|
parent::__construct($message, ExceptionCodes::SymlinkException, $previous);
|
||||||
|
$this->message = $message;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue