Showing frustration is ok if you do it right. If you are frustrated and you start complaining, then the manager will either think you are not capable of doing your work, or the manager will realize that you have way too much work. So it is important how you complain and how you show your frustration.
Showing frustration because of your mistake is ok to do. It shows that you are upset at yourself and that you can't believe you made a mistake. So it is indicating to the manager that you are not going to screw up again. Hopefully you won't screw anything up, but just in case, here are some ways to show your frustration.
Complaining about someone else is not good. But if you are so frustrated and you have to tell your manager, take a deep breath, calm yourself down, and say something like my example as calmly as you can.
The best kind of frustration is when the manager knows exactly what you are talking about. If the manager is frustrated as well, then he or she will completely understand. An example of this is when you are working with another company and they are not doing their work properly.