for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Glooby\Debug\Exception;
/**
* @author Emil Kilhage
*/
class WriterException extends Exception
{
* @param string $filePath
* @return WriterException
public static function fileExistException($filePath)
return new self("file already exist: $filePath");
}
public static function writeFailureException($filePath)
return new self("unable to write to file: $filePath");