Skip to content

[Storage][DataLake] Updated ErrorExtensions #8396

@seanmcc-msft

Description

@seanmcc-msft

#8235

  • Make ErrorExtensions.CreateException() and extension method on Response instead of string
  • "Can you check the response for an x-ms-error-code header? It feels weird to use the status here because that's not how it's documented in the REST API. I almost think I'd prefer null for clarity." -Ted
  • "We haven't been using the higher level Deserialize/Serialize methods for both perf and portability (they require a library that conflicts with something in Azure Functions' default env). We should file a work item on this. Take a look at KeyVault or AppConfig for examples of how they parse their models without Deserialize." -Ted

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue is related to a non-management packageData Lake Storage Gen2StorageStorage Service (Queues, Blobs, Files)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions