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

Hierarchy

  • Error
    • ArgumentOutOfBoundsError

Constructors

Properties

maxValue: number

Remarks

Max expected value for the condition.

message: string
minValue: number

Remarks

Min expected value for the condition.

name: string
stack?: string
value: number

Remarks

Passed-in value for the argument.