package feedback

import "errors"

// Custom errors for feedback domain
var (
	ErrFeedbackNotFound      = errors.New("feedback not found")
	ErrFeedbackAlreadyExists = errors.New("feedback already exists for this tender and user")
	ErrInvalidFeedbackType   = errors.New("invalid feedback type")
	ErrInvalidRating         = errors.New("invalid rating value")
	ErrInvalidComment        = errors.New("invalid comment")
	ErrInvalidDateRange      = errors.New("invalid date range: date_from must be before date_to")
	ErrUnauthorizedAccess    = errors.New("unauthorized access to feedback")
	ErrFeedbackDeleted       = errors.New("feedback has been deleted")
	ErrTenderNotFound        = errors.New("tender not found")
	ErrUserNotFound          = errors.New("user not found")
	ErrCustomerNotFound      = errors.New("customer not found")
	ErrCompanyNotFound       = errors.New("company not found")
)
