Part 06: Error handling in a functional way