Fwiw it's great that you're seeking other perspectives and I don't think those errors were on you at all. Agree with a lot of what everyone is saying in general. Sounds like bad systems and bad culture. That being said keep working on yourself and learning. I would also recommend reading books like the effective engineer and following software engineers on twitter like Gergely Orosz. The more experience you get and the more you talk to experienced engineers the better things will get.