This module contains a type that allows you to determine the type of error that may occur during conversion.
A NTWError is either NaNOrInfinty meaning the computation failed because user pass NaN or Infinite, or it is an TooBig meaning that user pass number that more than max safe int.
NTWError
NaNOrInfinty
NaN
Infinite
TooBig
A
NTWErroris eitherNaNOrInfintymeaning the computation failed because user passNaNorInfinite, or it is anTooBigmeaning that user pass number that more than max safe int.