Spot the Signs. You may receive this reaction if you're a high_ranking executive or director. These positions can be difficult to replace quickly, so it may be worth it to your company to tempt you to stay rather than letting you go without a fight. It can also happen if you have extremely specialized knowledge that would make it challenging to replace you. On the other hand, if you're in an entry_ or mid_level position, and someone could be hired into your position without much trouble, it's less likely your boss will put up a fight__and a counteroffer.
On the flip side, if you loved your job, your coworkers, your boss, the cappuccino machine, everything about the place, don't write page upon page waxing rhapsodic about all that you're giving up by leaving. A brief, heartfelt compliment to the company, or a thank you, is fine.