Combining errors with output