UNION error handling