Handling Errors in Amazon SWF