@backblaze-labs/b2-mcp
    Preparing search index...

    Function durableSecretPostCreateFailure

    • Wrap a post-2xx provider response failure with the raw created result.

      Parameters

      • result: unknown

        Raw provider response observed after the create completed.

      • cause: unknown

        Local normalization or validation failure.

      Returns Error

      Error carrying the raw result for fail-safe recovery.

      Durable-secret producers use this when the provider already accepted a non-idempotent create, but local response normalization failed before the secret-sink layer received a usable result. The sink layer must then run the same recovery path it would use after projection or ledger-write failure.