// SPDX-FileCopyrightText: Copyright 2025 Stacklok, Inc.
// SPDX-License-Identifier: Apache-2.0

// Package errors contains error definitions for workloads
// It is located in a separate package to side-step an import cycle
package errors

import (
	"errors"
	"net/http"

	"github.com/stacklok/toolhive-core/httperr"
)

// ErrRunConfigNotFound is returned when a run config cannot be found for a workload.
var ErrRunConfigNotFound = httperr.WithCode(
	errors.New("run config not found"),
	http.StatusNotFound,
)
