Identifies the invalid value.
Rest...args: [paramName: PropertyKey, message: string, metadata?: unknown]ReadonlyactualIdentifies the invalid value.
ReadonlymessageDetails of the exception.
Optional ReadonlymetadataReadonlyparamThe parameter that caused this exception.
OptionalstackStatic OptionalprepareOptional override for formatting stack traces
StaticstackTurns the exception into a Serialized object.
Staticcapture
Thrown when a method is called with at least one argument that isn't null and contains an invalid value that doesn't belong to the expected range of values for the argument.