Handle result errors