Move the specific BucketExistsException before the generic CouchBaseException

Description

PR fro Eugene Berger: https://github.com/couchbase/couchbase-net-client/pull/117

Expected Behavior:
When creating a bucket with a name that already exists, the BucketExistsException should be thrown.

Actual Result:
When creating a bucket with a name that already exists, the CouchBaseException is thrown.

How to reproduce:
Create a bucket with the same name twice:
ICluster.IBucketManager.CreateBucketAsync(new BucketSettings{ Name = "NICE_BUCKET"})

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created April 6, 2022 at 9:12 PM
Updated April 6, 2022 at 9:21 PM
Resolved April 6, 2022 at 9:20 PM
Instabug