#include "components/optimization_guide/core/model_execution/optimization_guide_model_execution_error.h"
#include "base/notreached.h"
namespace optimization_guide {
OptimizationGuideModelExecutionError
OptimizationGuideModelExecutionError::FromHttpStatusCode(
net::HttpStatusCode response_code) { … }
OptimizationGuideModelExecutionError
OptimizationGuideModelExecutionError::FromModelExecutionServerError(
proto::ErrorResponse error) { … }
OptimizationGuideModelExecutionError
OptimizationGuideModelExecutionError::FromModelExecutionError(
ModelExecutionError error) { … }
OptimizationGuideModelExecutionError::OptimizationGuideModelExecutionError(
ModelExecutionError error)
: … { … }
OptimizationGuideModelExecutionError::ModelExecutionError
OptimizationGuideModelExecutionError::error() const { … }
bool OptimizationGuideModelExecutionError::transient() const { … }
bool OptimizationGuideModelExecutionError::ShouldLogModelQuality() const { … }
}