/// <summary>
 /// Initializes a new instance of the Error class.
 /// </summary>
 /// <param name="code">Service specific error code which serves as the
 /// substatus for the HTTP error code.</param>
 /// <param name="message">A human-readable representation of the
 /// error.</param>
 /// <param name="details">Internal error details.</param>
 /// <param name="innererror">An object containing more specific
 /// information than the current object about the error.</param>
 public Error(string code = default(string), string message = default(string), IList <Error> details = default(IList <Error>), InnerError innererror = default(InnerError))
 {
     Code       = code;
     Message    = message;
     Details    = details;
     Innererror = innererror;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the InnerError class.
 /// </summary>
 /// <param name="code">A more specific error code than was provided by
 /// the containing error.</param>
 /// <param name="innererror">An object containing more specific
 /// information than the current object about the error.</param>
 public InnerError(string code = default(string), InnerError innererror = default(InnerError))
 {
     Code       = code;
     Innererror = innererror;
     CustomInit();
 }