merge_redemption_flow_failure

Documentation for eth_defi.erc_4626.deposit_probe.merge_redemption_flow_failure function.

merge_redemption_flow_failure(result, error)

Preserve a successful deposit while recording redemption unavailability.

A synchronous probe may successfully deposit before a protocol-specific redemption delay rejects the immediate redemption request. The vault is still depositable, so this condition must not replace the successful top-level outcome.

Parameters
Returns

Copy of the result with redemption-specific failure diagnostics.

Return type

dict[str, object]