Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

ErrorCode vs ExtendedErrorInformation.ErrorCode #1089

Open
PrasantJillella opened this issue Apr 3, 2023 · 1 comment
Open

ErrorCode vs ExtendedErrorInformation.ErrorCode #1089

PrasantJillella opened this issue Apr 3, 2023 · 1 comment

Comments

@PrasantJillella
Copy link

PrasantJillella commented Apr 3, 2023

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?

@PrasantJillella
Copy link
Author

Hi Checking to see if anyone can help with this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant