ze-ph.ErrorMiddleware.php.mustache Maven / Gradle / Ivy
withStatus(500, 'Internal server error');
$response->getBody()->write((string)$error);
error_log((string) $error);
return ($out === null)? $response : $out($request, $response);
}
}