### YamlMime:JavaType uid: "com.microsoft.azure.management.cdn.AfdErrorResponse" fullName: "com.microsoft.azure.management.cdn.AfdErrorResponse" name: "AfdErrorResponse" nameWithType: "AfdErrorResponse" summary: "Error response." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **AfdErrorResponse**" constructors: - uid: "com.microsoft.azure.management.cdn.AfdErrorResponse.AfdErrorResponse()" fullName: "com.microsoft.azure.management.cdn.AfdErrorResponse.AfdErrorResponse()" name: "AfdErrorResponse()" nameWithType: "AfdErrorResponse.AfdErrorResponse()" syntax: "public AfdErrorResponse()" methods: - uid: "com.microsoft.azure.management.cdn.AfdErrorResponse.error()" fullName: "com.microsoft.azure.management.cdn.AfdErrorResponse.error()" name: "error()" nameWithType: "AfdErrorResponse.error()" summary: "Get the error object." syntax: "public ErrorResponse error()" desc: "Get the error object." returns: description: "the error value" type: "" - uid: "com.microsoft.azure.management.cdn.AfdErrorResponse.withError(com.microsoft.azure.management.cdn.ErrorResponse)" fullName: "com.microsoft.azure.management.cdn.AfdErrorResponse.withError(ErrorResponse error)" name: "withError(ErrorResponse error)" nameWithType: "AfdErrorResponse.withError(ErrorResponse error)" summary: "Set the error object." parameters: - description: "the error value to set" name: "error" type: "" syntax: "public AfdErrorResponse withError(ErrorResponse error)" desc: "Set the error object." returns: description: "the AfdErrorResponse object itself." type: "" type: "class" desc: "Error response. Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)." metadata: {} package: "com.microsoft.azure.management.cdn" artifact: com.microsoft.azure:azure-mgmt-cdn:1.41.4