How can I avoid nested match statements in rust?
I am more used to Java where we throw errors. I'm currently working on a project that does a lot of work with the files so I keep writing code that covers every possible error. I know this will keep my code absolutely error persistent however the code just looks bad and it's becoming very redundant.
Is there a design pattern or feature in rust that can satisfy safety and clean code.