Show / Hide Table of Contents

Class CogniteError

Represents an error that occured on a push to CDF, or in pre-push sanitation.

Inheritance
object
CogniteError
CogniteError<TError>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cognite.Extensions
Assembly: Cognite.Extensions.dll
Syntax
public class CogniteError

Properties

| Edit this page View Source

Complete

False if this needs further work in order to complete, because the error message from CDF does not contain sufficient information.

Declaration
public bool Complete { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Exception

Exception that caused this error, if any.

Declaration
public Exception? Exception { get; set; }
Property Value
Type Description
Exception
| Edit this page View Source

Message

Message describing this error.

Declaration
public string? Message { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Resource

Affected resource if pre-existing, missing or duplicated.

Declaration
public ResourceType Resource { get; set; }
Property Value
Type Description
ResourceType
| Edit this page View Source

Status

HTTP status code, if any.

Declaration
public int Status { get; set; }
Property Value
Type Description
int
| Edit this page View Source

Type

Type of error, either pre-existing in CDF, duplicated in request, missing from CDF, or a fatal error.

Declaration
public ErrorType Type { get; set; }
Property Value
Type Description
ErrorType
| Edit this page View Source

Values

Values of the affected resources as CogniteSdk identities.

Declaration
public IEnumerable<Identity>? Values { get; set; }
Property Value
Type Description
IEnumerable<Identity>

Extension Methods

DataModelUtils.GetOrCreateResourcesAsync<T, T2>(T2, IEnumerable<InstanceIdentifier>, Func<IEnumerable<InstanceIdentifier>, IEnumerable<SourcedNodeWrite<T>>>, Func<IEnumerable<SourcedNodeWrite<T>>, SanitationMode, (IEnumerable<SourcedNodeWrite<T>>, IEnumerable<CogniteError<SourcedNodeWrite<T>>>)>, int, int, RetryMode, SanitationMode, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX