Function: assertValidSiteIdentifier()
assertValidSiteIdentifier(
identifier:string,context:string):void
Defined in: shared/validation/identifierValidation.ts:44
Throws if the supplied site identifier is empty/whitespace, too long, or contains ASCII control characters.
Parametersโ
identifierโ
string
Site identifier candidate.
contextโ
string
Human-readable context included in thrown errors.
Returnsโ
void