for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace SimpleDI\Exception;
use Exception;
/**
* Basic exception
*
* @package SimpleDI
* @author Kai Hempel <[email protected]>
* @copyright 2015 Kai Hempel <[email protected]>
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
* @link https://www.kuweh.de/
* @since Class available since Release 1.0.0
*/
class SimpleDIException extends Exception
{
* Returns the exception object.
* @param string $message
* @return \Dbrouter\Exception\DbrouterException
public static function make($message = null)
if (empty($message) || ! is_string($message)) {
$message = 'Unknown exception';
}
return new static($message);