Flatten output exceptions.