Adapts an upstream Procedure failure into one stamped with the
cluster's quarantine stage label.
Preserves the original Error reference (INV-3) by falling back to
new Error(message) only when the upstream failure carries no
.error. Shared by all 3 stages so the adapter shape stays
identical across scrape/map/import.
Adapts an upstream Procedure failure into one stamped with the cluster's quarantine stage label.
Preserves the original Error reference (INV-3) by falling back to
new Error(message)only when the upstream failure carries no.error. Shared by all 3 stages so the adapter shape stays identical across scrape/map/import.