How do you handle errors coming from a function?