Feature Request: unique constraint tells which index threw the error

When a query fails due to an index’s unique constraint, the query fails with an error message similar to:

..."code":"instance not unique","description":"document is not unique."...

Could we update this error message to provide the name of the relevant index?