// Package domain contains pure domain models with no external dependencies. // These types represent the core business concepts of the service. package domain import "errors" // Domain errors - these are business-level errors that should be translated // to appropriate HTTP status codes by the handler layer. var ( // ErrNotFound indicates a requested resource does not exist. ErrNotFound = errors.New("not found") // ErrInvalidPreferenceKey indicates an unknown preference key was provided. ErrInvalidPreferenceKey = errors.New("invalid preference key") // ErrInvalidPreferenceValue indicates a preference value failed validation. ErrInvalidPreferenceValue = errors.New("invalid preference value") )