Why does Rust compiler won’t let me use custom error type in Result
I’m following this YouTube guide on structuring a Rust project. I created an error.rs
file where I keep my custom errors and it looks like this:
Rust modify(add color) prefix “Error” when return an error with ? operator
I have next code: