Skip to main content

Errorbody

Properties

NameTypeDescriptionNotes
DetailCodeStringMachine-readable error code returned by the Intelligence service.[optional]
MessageStringHuman-readable explanation of the error suitable for client logging.[optional]

Examples

  • Prepare the resource
$Errorbody = Initialize-Errorbody  -DetailCode IDC_BAD_REQUEST `
-Message The filters query parameter is required and cannot be empty.
  • Convert the resource to JSON
$Errorbody | ConvertTo-JSON

[Back to top]