Classify recovery setup failures by their actual cause
This commit is contained in:
@@ -42,6 +42,9 @@ type PublicationReconciliationResult struct {
|
||||
// Kind includes missing_evidence, invalid_evidence, canceled, endpoint_changed,
|
||||
// transport_configuration, remote_observation, inconsistent_observation,
|
||||
// record_format, record_read, record_write, and storage_enumeration.
|
||||
// endpoint_changed identifies a confirmed URL-resolution mismatch;
|
||||
// transport_configuration identifies configuration-read or resolution failures,
|
||||
// including when the original remote name is absent.
|
||||
type PublicationRecoveryError struct {
|
||||
Kind string
|
||||
RecordPath string // selected or affected record path, when applicable.
|
||||
|
||||
Reference in New Issue
Block a user