Skip to main content

Class: DuplicateSiteIdentifierError

Defined in: shared/validation/siteIntegrity.ts:40

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error thrown when duplicate site identifiers are detected.

Extendsโ€‹

Constructorsโ€‹

Constructorโ€‹

new DuplicateSiteIdentifierError(duplicates: readonly DuplicateSiteIdentifier[], context?: string): DuplicateSiteIdentifierError

Defined in: shared/validation/siteIntegrity.ts:51

Creates a new DuplicateSiteIdentifierError.

Parametersโ€‹

duplicatesโ€‹

readonly DuplicateSiteIdentifier[]

Collection of duplicate identifier summaries.

context?โ€‹

string

Optional context string describing where the error was detected.

Returnsโ€‹

DuplicateSiteIdentifierError

Overridesโ€‹

Error.constructor

Propertiesโ€‹

duplicatesโ€‹

readonly duplicates: readonly DuplicateSiteIdentifier[]

Defined in: shared/validation/siteIntegrity.ts:42

Duplicate identifier occurrences that triggered the error.