What is "aversive learning"?

Is it for example, a mouse learns not to eat something because it knows that eating it will make it sick, OR a mouse learning to eat something over and over again because it tastes good?
I just want to clarify this, thanks.

http://medical-dictionary.thefreedictionary.com/aversive+conditioning

Aversive learning is a type of learning that occurs when an organism associates a behavior or stimulus with negative consequences. It refers to the process of acquiring a new behavior to avoid or escape from unpleasant or aversive experiences. Let me explain how you can clarify the concept further.

To determine whether it is an example of aversive learning when a mouse learns not to eat something, we need to analyze the situation. If the mouse eats something and then becomes sick, it might associate that particular food item with feeling ill. Consequently, the mouse may exhibit aversive behavior by avoiding or refusing to eat that specific item in the future. This would indeed be an example of aversive learning.

On the other hand, if a mouse repeats the behavior of eating something over and over again because it tastes good, it is not an example of aversive learning. Aversive learning involves the association of negative consequences with a certain behavior or stimulus, leading the organism to avoid or minimize that behavior.

In summary, aversive learning occurs when an organism learns to avoid or escape from negative experiences by associating them with certain behaviors or stimuli.