Table of Contents

Class RefundNotLocallyPossibleException

Namespace
NArk.ArkadeIntents.Recovery
Assembly
NArk.ArkadeIntents.dll

Thrown when a refund is not this wallet's to push, whatever the clock says.

public sealed class RefundNotLocallyPossibleException : InvalidOperationException, ISerializable
Inheritance
RefundNotLocallyPossibleException
Implements
Inherited Members

Remarks

Derives from InvalidOperationException deliberately. The advance loop catches that type to keep one swap's failure from ending a pass over many, so a recovery exception outside that hierarchy would escape the sweep entirely — turning a swap this wallet merely cannot act on into a crash that stops every other swap from being acted on either.

Constructors

RefundNotLocallyPossibleException(RefundBlockedReason, string)

Thrown when a refund is not this wallet's to push, whatever the clock says.

public RefundNotLocallyPossibleException(RefundBlockedReason reason, string message)

Parameters

reason RefundBlockedReason
message string

Remarks

Derives from InvalidOperationException deliberately. The advance loop catches that type to keep one swap's failure from ending a pass over many, so a recovery exception outside that hierarchy would escape the sweep entirely — turning a swap this wallet merely cannot act on into a crash that stops every other swap from being acted on either.

Properties

Reason

Which obstacle. Branch on this, never on the message.

public RefundBlockedReason Reason { get; }

Property Value

RefundBlockedReason