As an adult, I now write clean error handling first thing.
The person it benefits the most is the author, when they are building it and the errors-per-use are as high as they’ll (hopefully) ever be.