I dream about the day that "arithmetic exception, numeric overflow, or string truncation" will be replaced by more specific errors.
[]s Carlos http://www.firebirdnews.org FireBase - http://www.FireBase.com.br APvFd> On 17.06.2018 13:17, Mark Rotteveel wrote: >> I don't agree with this ticket getting closed. I raised an objection >> to the current solution in the comments that I think needs to be >> addressed. >> >> The current solution causes a divergence in errors between >> decimals(p,s) with p <=18 and 18 < p <=34, which is confusing and >> leaks implementation details to the user. In the same situation it >> should raise the same errors. >> APvFd> Error 'arithmetic exception, numeric overflow, or string truncation' is APvFd> too widely used here & there in our codebase. Therefore it was suggested APvFd> by Dmitry Emanov to avoid that error when dealing with decimal float APvFd> digits, use instead exact native error codes. I do not remember where APvFd> and how was it discussed, we often talk privately but sometimes discuss APvFd> such thing on forums too. APvFd> Must say that if we take some decision changing this particular message APvFd> I suppose it will be better to review all related errors related with APvFd> decimal floats. On my mind if we decide to do it better do sooner than APvFd> later - beta release is hopefully coming soon. APvFd> A. APvFd> ------------------------------------------------------------------------------ APvFd> Check out the vibrant tech community on one of the world's most APvFd> engaging tech sites, Slashdot.org! http://sdm.link/slashdot APvFd> Firebird-Devel mailing list, web interface at APvFd> https://lists.sourceforge.net/lists/listinfo/firebird-devel ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel