Minor update to allow multiple errors to be thrown.