class Azure::ServiceFabric::V6_4_0_36::Models::FabricError

The REST API operations for Service Fabric return standard HTTP status codes. This type defines the additional information returned from the Service Fabric API operations that are not successful.

Attributes

error[RW]

@return [FabricErrorError] Error object containing error code and error message.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.0.36/generated/azure_service_fabric/models/fabric_error.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FabricError',
    type: {
      name: 'Composite',
      class_name: 'FabricError',
      model_properties: {
        error: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Error',
          type: {
            name: 'Composite',
            class_name: 'FabricErrorError'
          }
        }
      }
    }
  }
end