Class: HistoryLimitMaximumExceededError
Defined in: shared/constants/history.ts:34
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;
}, options?: ErrorOptions): HistoryLimitMaximumExceededError;
Defined in: shared/constants/history.ts:39
Parametersโ
argsโ
candidateโ
number
maxLimitโ
number
options?โ
ErrorOptions
Returnsโ
HistoryLimitMaximumExceededError
Overridesโ
RangeError.constructor;
Propertiesโ
maxLimitโ
readonly maxLimit: number;
Defined in: shared/constants/history.ts:35
candidateโ
readonly candidate: number;
Defined in: shared/constants/history.ts:37