| Name | Type | Description | Notes |
|---|---|---|---|
| ErrorCode | ErrorCodes | ||
| Fields | FieldError[] | Fields errors | |
| Message | String | Error message | [optional] |
- Prepare the resource
$ErrorResponse = Initialize-PSAdGuardDNSErrorResponse -ErrorCode null `
-Fields null `
-Message Validation failed- Convert the resource to JSON
$ErrorResponse | ConvertTo-JSON