Logo GenPRES

DtoError Type

Why a Dto does not parse to its domain value.

Union cases

Union case Description

BrokenLink(contextId, LinkError)

Full Usage: BrokenLink(contextId, LinkError)

Parameters:

The plan context with the id has a link the plan refuses, for the given reason

contextId : string
Item2 : LinkError

Missing string

Full Usage: Missing string

Parameters:
    Item : string

A Dto that is null after JSON deserialization, with the name of the field or the path of the array item

Item : string

NotANumber(path, number)

Full Usage: NotANumber(path, number)

Parameters:
    path : string
    number : string

A number that is neither a decimal nor a fraction, with the path of its field

path : string
number : string

NotMadeOf(path, productId)

Full Usage: NotMadeOf(path, productId)

Parameters:
    path : string
    productId : string

A product with a strength that names no substance of its component, or a substance without concentrations in the unit group of the strength, with the path of the product

path : string
productId : string

OrderNotCreated string

Full Usage: OrderNotCreated string

Parameters:
    Item : string

The order of a scenario could not be created from its Dto

Item : string

PatientData string

Full Usage: PatientData string

Parameters:
    Item : string

The patient data has an invalid value. The string is the error message of GenCORE.

Item : string

PatientDataNotEnough PatientDataError

Full Usage: PatientDataNotEnough PatientDataError

Parameters:

The patient data is not enough to select rules.

Item : PatientDataError

UnknownCategory string

Full Usage: UnknownCategory string

Parameters:
    Item : string

An order category string that names no order category

Item : string

UnknownDoseType string

Full Usage: UnknownDoseType string

Parameters:
    Item : string

A dose type string that names no dose type

Item : string

UnknownOrderType(path, orderType)

Full Usage: UnknownOrderType(path, orderType)

Parameters:
    path : string
    orderType : string

An order type that names no case of OrderType, with the path of its field

path : string
orderType : string

UnknownTextKind string

Full Usage: UnknownTextKind string

Parameters:
    Item : string

A text block kind string that names no text block kind

Item : string

UnknownTotalState string

Full Usage: UnknownTotalState string

Parameters:
    Item : string

A total state string that names no total state

Item : string

UnknownUnit(path, unit)

Full Usage: UnknownUnit(path, unit)

Parameters:
    path : string
    unit : string

A unit that does not parse, with the path of its field

path : string
unit : string

Unreadable message

Full Usage: Unreadable message

Parameters:
    message : string

A text that is not a valid document of the expected shape: not YAML, a wrong type or an unknown key. The message is the reader error with its line and column.

message : string

WrongUnit(path, reason)

Full Usage: WrongUnit(path, reason)

Parameters:
    path : string
    reason : string

A unit that does not fit its field, such as an adjusted limit without an adjust unit, with the path of its field

path : string
reason : string

Instance members

Instance member Description

this.IsBrokenLink

Full Usage: this.IsBrokenLink

Returns: bool
Returns: bool

this.IsMissing

Full Usage: this.IsMissing

Returns: bool
Returns: bool

this.IsNotANumber

Full Usage: this.IsNotANumber

Returns: bool
Returns: bool

this.IsNotMadeOf

Full Usage: this.IsNotMadeOf

Returns: bool
Returns: bool

this.IsOrderNotCreated

Full Usage: this.IsOrderNotCreated

Returns: bool
Returns: bool

this.IsPatientData

Full Usage: this.IsPatientData

Returns: bool
Returns: bool

this.IsPatientDataNotEnough

Full Usage: this.IsPatientDataNotEnough

Returns: bool
Returns: bool

this.IsUnknownCategory

Full Usage: this.IsUnknownCategory

Returns: bool
Returns: bool

this.IsUnknownDoseType

Full Usage: this.IsUnknownDoseType

Returns: bool
Returns: bool

this.IsUnknownOrderType

Full Usage: this.IsUnknownOrderType

Returns: bool
Returns: bool

this.IsUnknownTextKind

Full Usage: this.IsUnknownTextKind

Returns: bool
Returns: bool

this.IsUnknownTotalState

Full Usage: this.IsUnknownTotalState

Returns: bool
Returns: bool

this.IsUnknownUnit

Full Usage: this.IsUnknownUnit

Returns: bool
Returns: bool

this.IsUnreadable

Full Usage: this.IsUnreadable

Returns: bool
Returns: bool

this.IsWrongUnit

Full Usage: this.IsWrongUnit

Returns: bool
Returns: bool

Type something to start searching.