src/Backuplay/Exceptions/EntityIsNoDirectoryException.php
<?php
namespace Astrotomic\Backuplay\Exceptions;
use Exception;
/**
* Class IsNoDirectoryException.
*/
class EntityIsNoDirectoryException extends Exception
{
/**
* IsNoDirectoryException constructor.
* @param string $message
* @param int $code
* @param Exception|null $previous
*/
public function __construct($message, $code = 0, Exception $previous = null)
{
$this->message = $message.' isn\'t a directory';
parent::__construct($message, $code, $previous);
}
}