SegmentValidationError
Defined in: core.ts:1151
Thrown by FlagsCore.upsertSegment when a segment fails validation.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SegmentValidationError(segmentKey, errors): SegmentValidationError;Defined in: core.ts:1154
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
segmentKey |
string |
errors |
string[] |
Returns
Section titled “Returns”SegmentValidationError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”| Property | Modifier | Type | Defined in |
|---|---|---|---|
errors |
readonly |
string[] |
core.ts:1153 |
segmentKey |
readonly |
string |
core.ts:1152 |