rostenkowski/imagestore

View on GitHub
src/Exceptions/DirectoryException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Rostenkowski\Resize\Exceptions;


use InvalidArgumentException;

/**
 * Directory exception
 */
class DirectoryException extends InvalidArgumentException
{


    /**
     * @param string $directory
     */
    public function __construct($directory)
    {
        parent::__construct(sprintf('Directory "%s" does not exist and cannot be created or it is not writable.', var_export($directory, TRUE)));
    }

}