There is nothing wrong with saying, “I was never taught that.”
But I think the meaning changes once you become an experienced instructor.
At some point, your teacher can no longer be responsible for every answer you haven’t found.
Teaching isn’t simply preserving somebody else’s lesson. You have to keep investigating, testing and learning for yourself.