Skip to main content
Version: v1

BadPlaceFailure Interface

Error thrown when an insert change uses an invalid Place

Signature

export interface BadPlaceFailure

Properties

Property Type Description
change ChangeInternal Faulting Change
kind FailureKind.BadPlace Failure kind (will always be FailureKind.BadPlace)
place StablePlaceInternal The faulting place
placeFailure BadPlaceValidationResult The reason for the failure

Property Details

change

Faulting Change

Signature

readonly change: ChangeInternal;

Type: ChangeInternal

kind

Failure kind (will always be FailureKind.BadPlace)

Signature

readonly kind: FailureKind.BadPlace;

Type: FailureKind.BadPlace

place

The faulting place

Signature

readonly place: StablePlaceInternal;

Type: StablePlaceInternal

placeFailure

The reason for the failure

Signature

readonly placeFailure: BadPlaceValidationResult;

Type: BadPlaceValidationResult