Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This question already has an answer here:
I'm exploring the nature of anger, so want to know.
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Anger(Patigha/Byāpāda) is uprooted at the stage of Anagami. So it's technically impossible for any being who has attained Anagami or above to get angry, let alone the Buddha.