Documentation
Table of Contents

Enum OnReuseFailure

Namespace
IntentSharp.Mapping
Assembly
IntentSharp.dll

What a stored mapping does when one of its steps fails to read an input.

public enum OnReuseFailure
Extension Methods

Fields

Fail = 0

The call fails with the step failures and makes no model call. A value the Reply checkpoint does not allow compiles nothing either, even when the setting mapping.replyCheck is recompileOnce.

Recompile = 1

A value that does not parse in the stored formats compiles one replacement, which must reproduce every example and golden sample and is capped per key per hour across every process on the store; any other failure, such as a value outside a declared set, fails the call as Fail does. The default.

Remarks

The set is closed: a policy the engine could not apply would have to be refused, so the enum has no Other member.