Added specific error handling modes for reduction errors

Signed-off-by: Martin Evans <martindevans@gmail.com>