// Package queue provides task queue functionality
package queue

import (
	"github.com/jfraeys/fetch_ml/internal/domain"
)

// Re-export from domain for backward compatibility
// Deprecated: Use internal/domain directly
type (
	FailureClass = domain.FailureClass
	FailureInfo  = domain.FailureInfo
)

// Re-export functions from domain
// Deprecated: Use internal/domain directly
var (
	ClassifyFailure      = domain.ClassifyFailure
	GetFailureSuggestion = domain.GetFailureSuggestion
	ShouldAutoRetry      = domain.ShouldAutoRetry
	RetryDelayForClass   = domain.RetryDelayForClass
)

// Re-export constants
// Deprecated: Use internal/domain directly
const (
	FailureInfrastructure = domain.FailureInfrastructure
	FailureCode           = domain.FailureCode
	FailureData           = domain.FailureData
	FailureResource       = domain.FailureResource
	FailureUnknown        = domain.FailureUnknown
)
