for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Nikita Vershinin <[email protected]>
* @license MIT
*/
namespace OpenStackStorage\Exceptions;
* Raised when attempting to create a container when the container
* already exists.
class ContainerExists extends Error
{
* The class constructor.
* @param string $containerName
* @param integer $code
* @param \Exception $previous
public function __construct($containerName, $code = 0, \Exception $previous = null)
parent::__construct('Container ' . $containerName . ' already exists');
}