<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:42:09 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>[CSHARP-2294] Add ErrorLabels property to MongoException</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2294</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;In server version 4.0 the server has started returning an &lt;tt&gt;errorLabels&lt;/tt&gt; field when returning an error (i.e. with { ok : 0 }).&lt;/p&gt;

&lt;p&gt;This needs to be exposed to the application.&lt;/p&gt;

&lt;p&gt;It has also been decided that drivers will sometimes add &lt;tt&gt;ErrorLabels&lt;/tt&gt;&#160;to certain exceptions, so rather than defining this new Property at the &lt;tt&gt;MongoCommandException&lt;/tt&gt; level it should be defined at the &lt;tt&gt;MongoException&lt;/tt&gt; level.&lt;/p&gt;</description>
                <environment></environment>
        <key id="556100">CSHARP-2294</key>
            <summary>Add ErrorLabels property to MongoException</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="13201">Fixed</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Jun 2018 13:44:53 +0000</created>
                <updated>Sat, 28 Oct 2023 11:49:00 +0000</updated>
                            <resolved>Sun, 10 Jun 2018 17:52:47 +0000</resolved>
                                                    <fixVersion>2.7.0</fixVersion>
                                    <component>Error Handling</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1916419" author="xgen-internal-githook" created="Sun, 10 Jun 2018 17:52:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;rstam&apos;, &apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2294&quot; title=&quot;Add ErrorLabels property to MongoException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2294&quot;&gt;&lt;del&gt;CSHARP-2294&lt;/del&gt;&lt;/a&gt;: Added HasErrorLabel and RemoveErrorLabel.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/7fe5e800cdaf3877f824e9fc46630a4224962c59&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/7fe5e800cdaf3877f824e9fc46630a4224962c59&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1916418" author="xgen-internal-githook" created="Sun, 10 Jun 2018 17:52:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;rstam&apos;, &apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2294&quot; title=&quot;Add ErrorLabels property to MongoException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2294&quot;&gt;&lt;del&gt;CSHARP-2294&lt;/del&gt;&lt;/a&gt;: Add ErrorLabels property to MongoException.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/0d3d6e4e49ad6caaa5f262a5e2fe5bd5141d855e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/0d3d6e4e49ad6caaa5f262a5e2fe5bd5141d855e&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CSHARP-2156</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htqz7b:</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>