Skip to main content
Version: v1

BadRangeFailure Interface

Error thrown when a detach operation is given an invalid or malformed Range

Signature

export interface BadRangeFailure

Properties

Property Type Description
change ChangeInternal Faulting Change
kind FailureKind.BadRange Failure kind (will always be FailureKind.BadRange)
range StableRangeInternal Faulting range
rangeFailure BadRangeValidationResult The reason for the failure

Property Details

change

Faulting Change

Signature

readonly change: ChangeInternal;

Type: ChangeInternal

kind

Failure kind (will always be FailureKind.BadRange)

Signature

readonly kind: FailureKind.BadRange;

Type: FailureKind.BadRange

range

Faulting range

Signature

readonly range: StableRangeInternal;

Type: StableRangeInternal

rangeFailure

The reason for the failure

Signature

readonly rangeFailure: BadRangeValidationResult;

Type: BadRangeValidationResult