Logo GenPRES

OrderPlanError Type

Why an order plan refuses a change. The server writes the message for each case, so the label of a category stays out of the domain.

Union cases

Union case Description

BrokenLink LinkError

Full Usage: BrokenLink LinkError

Parameters:

The plan refuses the link of the context to its main order, for the given reason

Item : LinkError

NoRuleSet NutritionCategory

Full Usage: NoRuleSet NutritionCategory

Parameters:

No rule set exists for the category

Item : NutritionCategory

NoSuchContext id

Full Usage: NoSuchContext id

Parameters:
    id : string

The plan holds no context with the id

id : string

NotNarrowed candidates

Full Usage: NotNarrowed candidates

Parameters:
    candidates : int

The order context has the given number of candidate scenarios, not a single one

candidates : int

OrderHeld orderId

Full Usage: OrderHeld orderId

Parameters:
    orderId : string

The plan already has the order

orderId : string

OrderRefused(generic, OrderPlanError)

Full Usage: OrderRefused(generic, OrderPlanError)

Parameters:

The plan refuses one order of a group add, named by its generic, for the reason given

generic : string
Item2 : OrderPlanError

Instance members

Instance member Description

this.IsBrokenLink

Full Usage: this.IsBrokenLink

Returns: bool
Returns: bool

this.IsNoRuleSet

Full Usage: this.IsNoRuleSet

Returns: bool
Returns: bool

this.IsNoSuchContext

Full Usage: this.IsNoSuchContext

Returns: bool
Returns: bool

this.IsNotNarrowed

Full Usage: this.IsNotNarrowed

Returns: bool
Returns: bool

this.IsOrderHeld

Full Usage: this.IsOrderHeld

Returns: bool
Returns: bool

this.IsOrderRefused

Full Usage: this.IsOrderRefused

Returns: bool
Returns: bool

Type something to start searching.