chromium/components/optimization_guide/core/model_execution/optimization_guide_model_execution_error.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/optimization_guide/core/model_execution/optimization_guide_model_execution_error.h"

#include "base/notreached.h"

namespace optimization_guide {

// static
OptimizationGuideModelExecutionError
OptimizationGuideModelExecutionError::FromHttpStatusCode(
    net::HttpStatusCode response_code) {}

//  static
OptimizationGuideModelExecutionError
OptimizationGuideModelExecutionError::FromModelExecutionServerError(
    proto::ErrorResponse error) {}

// static
OptimizationGuideModelExecutionError
OptimizationGuideModelExecutionError::FromModelExecutionError(
    ModelExecutionError error) {}

OptimizationGuideModelExecutionError::OptimizationGuideModelExecutionError(
    ModelExecutionError error)
    :{}

OptimizationGuideModelExecutionError::ModelExecutionError
OptimizationGuideModelExecutionError::error() const {}

bool OptimizationGuideModelExecutionError::transient() const {}

bool OptimizationGuideModelExecutionError::ShouldLogModelQuality() const {}

}  // namespace optimization_guide