Spot the Signs. The most obvious sign that you'll receive this reaction is if you haven't had a healthy relationship with your manager in the past. Maybe you continually challenged his ideas, and he took that as a sign of disrespect. Or, maybe she always made unreasonable demands, and you were never able to see eye_to_eye on your to_do list. Or perhaps his moods were completely unpredictable. In any case, if your relationship has been strained, you may receive a less_than_ideal response to your two weeks' notice.
Breaking up is hard to do, but pouring your heart out on paper is rather awkward. There is really no need for any other information in your resignation letter (including a reason __ which is completely optional). No effusive template and formatting effort is required. This is not a letter that is going to be hanging on anyone's wall, and it probably won't even be filed away!