Class CogniteError
Represents an error that occured on a push to CDF, or in pre-push sanitation.
Inherited Members
Namespace: Cognite.Extensions
Assembly: Cognite.Extensions.dll
Syntax
public class CogniteError
Properties
| Edit this page View SourceComplete
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 |
Exception
Exception that caused this error, if any.
Declaration
public Exception? Exception { get; set; }
Property Value
Type | Description |
---|---|
Exception |
Message
Message describing this error.
Declaration
public string? Message { get; set; }
Property Value
Type | Description |
---|---|
string |
Resource
Affected resource if pre-existing, missing or duplicated.
Declaration
public ResourceType Resource { get; set; }
Property Value
Type | Description |
---|---|
ResourceType |
Status
HTTP status code, if any.
Declaration
public int Status { get; set; }
Property Value
Type | Description |
---|---|
int |
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 |
Values
Values of the affected resources as CogniteSdk identities.
Declaration
public IEnumerable<Identity>? Values { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<Identity> |