NavigationRejection enum

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public enum NavigationRejection

Why a navigation request was rejected.

Remarks

This set is open: a minor release may add reasons, so handle unknown values, for example with a default arm.

Values

Guard

Guard = 0

A departure guard returned false.

Cancelled

Cancelled = 1

The caller's token was cancelled before the commit.

Closed

Closed = 2

The navigator or the region is closed.

Reentrant

Reentrant = 3

The request came from a hook of an in-flight transition of the same region, or of a region that holds it or is held by it (an ancestor or a descendant region). The rejection is conservative: such a request could wait on the transition that is running the hook.

NoHistory

NoHistory = 4

A back request found no retained entry.

NotCurrent

NotCurrent = 5

The expected current entry is not current.

EntryNotFound

EntryNotFound = 6

The back-to target is not in the region.

Busy

Busy = 7

The region admits requests with NavigationAdmission.RejectWhileBusy and was busy: an earlier request had not completed.