I have a write up on the functional specification and design of the error handling feature in Pig. Please feel free to comment.
Functional specification: http://wiki.apache.org/pig/PigErrorHandlingFunctionalSpecification Design: http://wiki.apache.org/pig/PigErrorHandlingDesign Thanks, Santhosh