/// <summary> /// Initializes a new instance of the ODataInnerError class. /// </summary> public ODataInnerError(IDictionary <string, ODataValue> properties = default(IDictionary <string, ODataValue>), string message = default(string), string typeName = default(string), string stackTrace = default(string), ODataInnerError innerError = default(ODataInnerError)) { Properties = properties; Message = message; TypeName = typeName; StackTrace = stackTrace; InnerError = innerError; CustomInit(); }
/// <summary> /// Initializes a new instance of the ODataError class. /// </summary> public ODataError(string errorCode = default(string), string message = default(string), string target = default(string), IList <ODataErrorDetail> details = default(IList <ODataErrorDetail>), ODataInnerError innerError = default(ODataInnerError), IList <ODataInstanceAnnotation> instanceAnnotations = default(IList <ODataInstanceAnnotation>), ODataTypeAnnotation typeAnnotation = default(ODataTypeAnnotation)) { ErrorCode = errorCode; Message = message; Target = target; Details = details; InnerError = innerError; InstanceAnnotations = instanceAnnotations; TypeAnnotation = typeAnnotation; CustomInit(); }