<?php $message = sprintf( "HTTP/%s %s %s", $response->getVersion(), $response->getCode(), $response->getMessage() ); throw new HttpException($message, $response->getCode()); <?php class HttpException extends \Exception { /** * ä¾å¤ãä½æãã¦æããã¡ã½ãã * * @param $response HttpResponse * @throws HttpException */ public static function raise(HttpResponse $response) { $message = sprintf( "HTTP/%s %s %s", $resp
{{#tags}}- {{label}}
{{/tags}}