Azure / azure-storage-net

Microsoft Azure Storage Libraries for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ErrorCode vs ExtendedErrorInformation.ErrorCode

PrasantJillella opened this issue · comments

Which service(blob, file, queue, table) does this issue concern?

Table

Which version of the SDK was used?

SDK12

Which platform are you using? (ex: .NET Core 2.1)

Not required for this general scenario.

What problem was encountered?

I noticed that in few Exception cases we receive ErrorCode where as in few cases we receive ExtendedErrorInformation.ErrorCode.
I wanted to check what is the difference b/w ErrorCode and ExtendedErrorInformation.ErrorCode and if they can be used interchangeably for what type of failure ErrorCode was returned by Azure Table Storage.

This impacts our testing scenarios and it would be useful for us to know if we can validate based on either of these values when the other is absent.
Also is there any way we can know which value will be populated or which we need to check for ErrorCode ?

How can we reproduce the problem in the simplest way?

Have you found a mitigation/solution?

Hi Checking to see if anyone can help with this.