class Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse

Error reponse indicates managed application is not able to process the incoming request. The reason is provided in the error message.

Attributes

error_code[RW]

@return [String] Error code.

error_message[RW]

@return [String] Error message indicating why the operation failed.

http_status[RW]

@return [String] Http status code.

Public Class Methods

mapper() click to toggle source

Mapper for ErrorResponse class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-09-01/generated/azure_mgmt_managed_applications/models/error_response.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ErrorResponse',
    type: {
      name: 'Composite',
      class_name: 'ErrorResponse',
      model_properties: {
        http_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'httpStatus',
          type: {
            name: 'String'
          }
        },
        error_code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorCode',
          type: {
            name: 'String'
          }
        },
        error_message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorMessage',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end