Base exception class.
Used exceptions derive from this. If an exception derives from another exception besides this (such as Underflow (Inexact, Rounded, Subnormal) that indicates that it is only called if the others are present. This isn't actually used for anything, though.
(-x)!
, self._sign) would
call NewError().handle(context, self._sign).)To define a new exception, it should be sufficient to have it derive from DecimalException.
There are no attributes in this class.
handle(context, *args)