Make _handle_server_error non-static, because it is an internal method.