Skip to main content

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โ€‹

View Summary

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โ€‹

readonly maxLimit: number

Defined in: shared/constants/history.ts:33


candidateโ€‹

readonly candidate: number

Defined in: shared/constants/history.ts:35