Class SchedulerErrorDto
An error a scheduler reported, and the node that reported it.
public sealed record SchedulerErrorDto : IEquatable<SchedulerErrorDto>
- Inheritance
-
SchedulerErrorDto
- Implements
- Inherited Members
Remarks
TriggerKey and JobKey are null when the scheduler could not say what the error was about — a store retrying a failed operation names neither.
Constructors
SchedulerErrorDto(string, string, string, string?, TriggerKeyDto?, JobKeyDto?)
An error a scheduler reported, and the node that reported it.
public SchedulerErrorDto(string SchedulerName, string SchedulerInstanceId, string Message, string? Cause, TriggerKeyDto? TriggerKey, JobKeyDto? JobKey)
Parameters
SchedulerNamestringThe scheduler the error belongs to.
SchedulerInstanceIdstringThe node that raised the event.
MessagestringWhat went wrong.
CausestringThe underlying failure, where there was one.
TriggerKeyTriggerKeyDtoThe trigger the error was about, where the scheduler could say.
JobKeyJobKeyDtoThe job the error was about, where the scheduler could say.
Remarks
TriggerKey and JobKey are null when the scheduler could not say what the error was about — a store retrying a failed operation names neither.
Properties
Cause
The underlying failure, where there was one.
public string? Cause { get; init; }
Property Value
JobKey
The job the error was about, where the scheduler could say.
public JobKeyDto? JobKey { get; init; }
Property Value
Message
What went wrong.
public string Message { get; init; }
Property Value
SchedulerInstanceId
The node that raised the event.
public string SchedulerInstanceId { get; init; }
Property Value
SchedulerName
The scheduler the error belongs to.
public string SchedulerName { get; init; }
Property Value
TriggerKey
The trigger the error was about, where the scheduler could say.
public TriggerKeyDto? TriggerKey { get; init; }