Validates and converts the input data to a BigInt.
Either a number or a string representing a non-negative integer.
A string representing the context in which this function is used, to create meaningful error messages.
The input data converted to a BigInt.
Validates and converts the input data to a BigInt.
Throws