Catch both errors at once