예제 #1
0
 /// <summary>
 /// Initializes a new instance of the Error class.
 /// </summary>
 /// <param name="code">Server-defined set of error codes.</param>
 /// <param name="message">Human-readable representation of the
 /// error.</param>
 /// <param name="target">Target of the error.</param>
 /// <param name="details">Array of details about specific errors that
 /// led to this reported error.</param>
 /// <param name="innerError">Object containing more specific
 /// information than  the current object about the error.</param>
 public Error(string code = default(string), string message = default(string), string target = default(string), IList <Error> details = default(IList <Error>), ErrorInnerError innerError = default(ErrorInnerError))
 {
     Code       = code;
     Message    = message;
     Target     = target;
     Details    = details;
     InnerError = innerError;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the ErrorResponseError class.
 /// </summary>
 /// <param name="code">Server-defined set of error codes.</param>
 /// <param name="message">Human-readable representation of the
 /// error.</param>
 /// <param name="target">Target of the error.</param>
 /// <param name="details">Array of details about specific errors that
 /// led to this reported error.</param>
 /// <param name="innerError">Object containing more specific
 /// information than  the current object about the error.</param>
 public ErrorResponseError(string code = default(string), string message = default(string), string target = default(string), IList <Error> details = default(IList <Error>), ErrorInnerError innerError = default(ErrorInnerError))
     : base(code, message, target, details, innerError)
 {
     CustomInit();
 }