<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:39:29 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[GODRIVER-2840] Lookup* API should return public errors, not experimental ones</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2840</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Right now bson.Raw.LookupErr can return 3 errors:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;bsoncore.ErrElementNotFound&lt;/li&gt;
	&lt;li&gt;bsoncore.InsufficientBytesError&lt;/li&gt;
	&lt;li&gt;bsoncore.InvalidDepthTraversalError&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;All of these are experimental errors, not part of the Go driver&#8217;s stable API. LookupErr would be much more useful, though, if its returned errors were part of the Go driver&#8217;s stable API.&lt;/p&gt;

&lt;p&gt;This ticket requests that change. Ideally it would also be great to have LookupErr&#8217;s documentation (and documentation of whatever other methods) mention those specific (public) errors.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

&lt;p&gt;(cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matt.dale%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;matt.dale@mongodb.com&quot;&gt;matt.dale@mongodb.com&lt;/a&gt;)&lt;/p&gt;</description>
                <environment></environment>
        <key id="2337448">GODRIVER-2840</key>
            <summary>Lookup* API should return public errors, not experimental ones</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="felipe.gasper@mongodb.com">Felipe Gasper</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 May 2023 19:28:14 +0000</created>
                <updated>Thu, 7 Sep 2023 00:02:34 +0000</updated>
                            <resolved>Thu, 7 Sep 2023 00:02:11 +0000</resolved>
                                    <version>1.11.6</version>
                                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5685036" author="JIRAUSER1259527" created="Thu, 7 Sep 2023 00:01:53 +0000"  >&lt;p&gt;This is actually a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2744&quot; title=&quot;Do not return &amp;quot;bsoncore&amp;quot; errors from the &amp;quot;bson&amp;quot; API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2744&quot;&gt;GODRIVER-2744&lt;/a&gt;. I&apos;ve updated the description of that ticket to include all error types listed in this ticket as well.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2250037">GODRIVER-2744</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1qw60:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>