public static TrackedRequestFinalState fromRouterErrorCodeToFinalState(RouterErrorCode code) {
    switch (code) {
      case OperationTimedOut:
        return TIMED_OUT;
      case BlobDoesNotExist:
        return NOT_FOUND;
      default:
        return FAILURE;
    }
  }
Return the corresponding {@link TrackedRequestFinalState}  for the given {@link RouterErrorCode}.
@param code The {@link RouterErrorCode} to handle.
@return The corresponding {@link TrackedRequestFinalState}.
ambry-router/src/main/java/com/github/ambry/router/TrackedRequestFinalState.java