private getStatusCodeForException ( Exception $exception ) : integer | ||
$exception | Exception | |
리턴 | integer |
private function getStatusCodeForException(\Exception $exception)
{
return $exception instanceof HttpException ? $exception->getStatusCode() : 500;
}