for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Adelowo\Cfar;
/**
* @author Lanre Adelowo
*/
class CfarException extends \Exception
{
protected $message;
const INVALID_DECLARATION = "Invalid route declaration";
public function __construct($message)
$this->message = $message;
}
public function __toString()
return self::INVALID_DECLARATION . ". The " . $this->getMessage();