for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @codingStandardsIgnoreStart
*
* @author Barney Hanlon <[email protected]>
* @copyright Barney Hanlon 2017
* @license https://opensource.org/licenses/MIT
* @codingStandardsIgnoreEnd
*/
namespace Shrikeh\GuzzleMiddleware\TimerLogger\ResponseLogger\Exception;
use Exception;
use RuntimeException;
* Class ResponseLogStartException.
final class ResponseLogStopException extends RuntimeException
{
const STOP_MSG = 'An error occurred while attempting to log the request end';
const STOP_CODE = 8;
* @param \Exception $e The previous exception
* @return ResponseLogStopException
public static function stop(Exception $e)
return new self(
self::STOP_MSG,
self::STOP_CODE,
$e
);
}