Skip to main content

Errorresponsedto

Properties

NameTypeDescriptionNotes
DetailCodeStringFine-grained error code providing more detail of the error.[optional]
TrackingIdStringUnique tracking id for the error.[optional]
Messages[]ErrormessagedtoGeneric localized reason for error[optional]
Causes[]ErrormessagedtoPlain-text descriptive reasons to provide additional detail to the text provided in the messages field[optional]

Examples

  • Prepare the resource
$Errorresponsedto = Initialize-Errorresponsedto  -DetailCode 400.1 Bad Request Content `
-TrackingId e7eab60924f64aa284175b9fa3309599 `
-Messages null `
-Causes null
  • Convert the resource to JSON
$Errorresponsedto | ConvertTo-JSON

[Back to top]