Table of Contents

Class ServiceError

Namespace
Azure.Iot.Operations.Services.EdgeRegistry.Models
Assembly
Azure.Iot.Operations.Services.dll

Unified error object for Edge Registry operations. Normalizes EdgeRegistryError, SchemaExtensionError, and ThingDescriptionExtensionError.

public class ServiceError
Inheritance
ServiceError
Inherited Members

Properties

Code

HTTP-style response code.

public ulong Code { get; set; }

Property Value

ulong

Detail

Detailed error description.

public string? Detail { get; set; }

Property Value

string

Instance

The XID of the entity that caused the error.

public string Instance { get; set; }

Property Value

string

Status

HTTP-style response status text.

public string Status { get; set; }

Property Value

string

Title

Short human-readable error title.

public string Title { get; set; }

Property Value

string

TypeUri

URI identifying the error type.

public string TypeUri { get; set; }

Property Value

string