for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EricMakesStuff\ServerMonitor\Exceptions;
use Exception;
class InvalidPath extends Exception
{
/**
* @return \EricMakesStuff\ServerMonitor\Exceptions\InvalidPath
*/
public static function noPathSpecified()
return new static('No path was specified to monitor!');
}
* @param $path
*
public static function pathDoesNotExist($path)
return new static("This path does not exist: `{$path}`");