Variables

@:value(cast "Buffer too small")@:impl@:enuminlineread onlyBUFFER_TOO_SMALL:BigIntError = "Buffer too small"

An output buffer was too small to hold the result.

@:value(cast "Division by zero")@:impl@:enuminlineread onlyDIVISION_BY_ZERO:BigIntError = "Division by zero"

An attempt was made to divide by zero.

@:value(cast "Both values are even")@:impl@:enuminlineread onlyEVEN_VALUES:BigIntError = "Both values are even"

An operation required at least one odd number, but both were even.

@:value(cast "Invalid argument")@:impl@:enuminlineread onlyINVALID_ARGUMENT:BigIntError = "Invalid argument"

An argument provided to a function was not valid.

@:value(cast "Invalid operation")@:impl@:enuminlineread onlyINVALID_OPERATION:BigIntError = "Invalid operation"

An operation was performed that is not valid.

@:value(cast "Negative exponent")@:impl@:enuminlineread onlyNEGATIVE_EXPONENT:BigIntError = "Negative exponent"

An exponent was negative where not supported.

@:value(cast "Modulus should be positive")@:impl@:enuminlineread onlyNEGATIVE_MODULUS:BigIntError = "Modulus should be positive"

A modulus was negative where it must be positive.