Current Directory: /home/astoriaah/www/templates/yootheme-BK/vendor/yootheme/framework/src/Http
Viewing File: /home/astoriaah/www/templates/yootheme-BK/vendor/yootheme/framework/src/Http/Exception.php
<?php
namespace YOOtheme\Http;
class Exception extends \RuntimeException
{
/**
* Constructor.
*
* @param integer $code
* @param string $message
* @param \Exception $previous
*/
public function __construct($code = 0, $message = '', \Exception $previous = null)
{
parent::__construct($message ?: (new Response($code))->getReasonPhrase(), $code, $previous);
}
}