Class ProjectionErrorRecord
- Namespace
- Excalibur.Data.ElasticSearch.Projections
- Assembly
- Excalibur.Data.ElasticSearch.dll
Represents a recorded projection error for tracking and analysis.
public sealed class ProjectionErrorRecord
- Inheritance
-
ProjectionErrorRecord
- Inherited Members
Properties
AttemptCount
Gets the number of retry attempts made.
public int AttemptCount { get; init; }
Property Value
- int
The number of retry attempts made.
DocumentId
Gets the document identifier, if available.
public string? DocumentId { get; init; }
Property Value
- string
The document identifier, if available.
ErrorMessage
Gets the error message.
public required string ErrorMessage { get; init; }
Property Value
- string
The error message.
ExceptionDetails
Gets the full exception details.
public string? ExceptionDetails { get; init; }
Property Value
- string
The full exception details.
Id
Gets the unique identifier for the error record.
public required string Id { get; init; }
Property Value
- string
The unique identifier for the error record.
IndexName
Gets the index name where the projection was being stored.
public required string IndexName { get; init; }
Property Value
- string
The index name where the projection was being stored.
IsResolved
Gets a value indicating whether the error has been resolved.
public bool IsResolved { get; init; }
Property Value
- bool
A value indicating whether the error has been resolved.
Metadata
Gets additional context metadata.
public IDictionary<string, object>? Metadata { get; init; }
Property Value
- IDictionary<string, object>
Additional context metadata.
OperationType
Gets the operation type that failed.
public required string OperationType { get; init; }
Property Value
- string
The operation type that failed.
ProjectionType
Gets the projection type that failed.
public required string ProjectionType { get; init; }
Property Value
- string
The projection type that failed.
ResolvedAt
Gets the timestamp when the error was resolved, if applicable.
public DateTime? ResolvedAt { get; init; }
Property Value
- DateTime?
The timestamp when the error was resolved, if applicable.
Timestamp
Gets the timestamp when the error occurred.
public required DateTimeOffset Timestamp { get; init; }
Property Value
- DateTimeOffset
The timestamp when the error occurred.