Class: HistoryLimitMaximumExceededError
Defined in: shared/constants/history.ts:32
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error thrown when a history limit candidate exceeds the configured maximum.
Remarksโ
This is a specialized RangeError so callers can branch on the error type without parsing message strings.
Hierarchyโ
Extendsโ
Constructorsโ
Constructorโ
new HistoryLimitMaximumExceededError(
args: {candidate:number;maxLimit:number; }):HistoryLimitMaximumExceededError
Defined in: shared/constants/history.ts:37
Parametersโ
argsโ
candidateโ
number
maxLimitโ
number
Returnsโ
HistoryLimitMaximumExceededError
Overridesโ
RangeError.constructor
Propertiesโ
maxLimitโ
readonlymaxLimit:number
Defined in: shared/constants/history.ts:33
candidateโ
readonlycandidate:number
Defined in: shared/constants/history.ts:35