package radar

import (
	"fmt"

	radarDomain "apps/backend/internal/module/radar/domain"
)

// notReady is returned by every radar capability that is routed but not implemented yet.
// It maps to HTTP 501 / code 501010 in internal/response, so a caller can never mistake
// a missing implementation for a successful empty result.
func notReady(capability string) error {
	return fmt.Errorf("%w: %s", radarDomain.ErrNotReady, capability)
}
