/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 * 
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

/**
 * @class
 * Initializes a new instance of the InnerError class.
 * @constructor
 * Data Lake Store inner error information
 *
 * @member {string} [trace] the stack trace for the error
 * 
 * @member {string} [context] the context for the error message
 * 
 */
function InnerError() {
}

/**
 * Defines the metadata of InnerError
 *
 * @returns {object} metadata of InnerError
 *
 */
InnerError.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'InnerError',
    type: {
      name: 'Composite',
      className: 'InnerError',
      modelProperties: {
        trace: {
          required: false,
          readOnly: true,
          serializedName: 'trace',
          type: {
            name: 'String'
          }
        },
        context: {
          required: false,
          readOnly: true,
          serializedName: 'context',
          type: {
            name: 'String'
          }
        }
      }
    }
  };
};

module.exports = InnerError;
