module documentation

Various richly-typed exceptions, that also help us deal with string formatting in python where it's easier.

By putting the formatting in __str__, we also avoid paying the cost for users who silence the exceptions.

Exception UFuncTypeError Base class for all ufunc exceptions
Exception _ArrayMemoryError Thrown when an array cannot be allocated
Exception _UFuncBinaryResolutionError Thrown when a binary resolution fails
Exception _UFuncCastingError Undocumented
Exception _UFuncInputCastingError Thrown when a ufunc input cannot be casted
Exception _UFuncNoLoopError Thrown when a ufunc loop cannot be found
Exception _UFuncOutputCastingError Thrown when a ufunc output cannot be casted
Function _display_as_base A decorator that makes an exception class look like its base.
Function _unpack_tuple Undocumented
def _display_as_base(cls): (source)

A decorator that makes an exception class look like its base.

We use this to hide subclasses that are implementation details - the user should catch the base type, which is what the traceback will show them.

Classes decorated with this decorator are subject to removal without a deprecation warning.

def _unpack_tuple(tup): (source)

Undocumented