package domain import "errors" var ( // ErrNotFound indicates that a requested resource was not found. ErrNotFound = errors.New("not found") // ErrUnauthorized indicates that the user is not authenticated. ErrUnauthorized = errors.New("unauthorized") // ErrForbidden indicates that the user is authenticated but not authorized to perform the action. ErrForbidden = errors.New("forbidden") // ErrValidation indicates that the input failed validation. ErrValidation = errors.New("validation failed") // ErrConflict indicates a conflict with the current state of the resource (e.g., duplicate). ErrConflict = errors.New("conflict") )