This type of error is thrown when a parameter to a method or property is out of expected bounds.

Hierarchy

  • Error
    • ArgumentOutOfBoundsError

Properties

maxValue: number

Max expected value for the condition.

message: string
minValue: number

Min expected value for the condition.

name: string
stack?: string
value: number

Passed-in value for the argument.