Enables specified exceptions. Multiple exceptions may be ORed together.
DecimalControl.enableExceptions(ExceptionFlags.overflow); try { auto d = decimal64.max * 2; } catch (OverflowException) { writeln("Overflow error") }
See Implementation
Enables specified exceptions. Multiple exceptions may be ORed together.