ErrorResponse Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.ErrorResponse

public class ErrorResponse

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.).

Constructor Summary

Constructor Description
ErrorResponse()

Method Summary

Modifier and Type Method and Description
java.util.List<ErrorAdditionalInfo> additionalInfo()

Get the error additional info.

java.lang.String code()

Get the error code.

java.util.List<ErrorResponse> details()

Get the error details.

java.lang.String message()

Get the error message.

java.lang.String target()

Get the error target.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ErrorResponse

public ErrorResponse()

Method Details

additionalInfo

public List additionalInfo()

Get the error additional info.

Returns:

the additionalInfo value

code

public String code()

Get the error code.

Returns:

the code value

details

public List details()

Get the error details.

Returns:

the details value

message

public String message()

Get the error message.

Returns:

the message value

target

public String target()

Get the error target.

Returns:

the target value

Applies to