protected function fatalError(ReactResponse $response, $error) { $response->writeHead(500); $response->write(sprintf("Internal server error : %s", $error->getMessage())); $response->end(); }