class Azure::CognitiveServices::Qnamaker::V4_0::Models::InnerErrorModel

An object containing more specific information about the error. As per Microsoft One API guidelines - github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.

Attributes

code[RW]

@return [String] A more specific error code than was provided by the containing error.

inner_error[RW]

@return [InnerErrorModel] An object containing more specific information than the current object about the error.

Private Class Methods

mapper() click to toggle source

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

# File lib/4.0/generated/azure_cognitiveservices_qnamaker/models/inner_error_model.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'InnerErrorModel',
    type: {
      name: 'Composite',
      class_name: 'InnerErrorModel',
      model_properties: {
        code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        inner_error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'innerError',
          type: {
            name: 'Composite',
            class_name: 'InnerErrorModel'
          }
        }
      }
    }
  }
end