This class provides generic XSLT extension function support,
which can be used by extension function implementors:
It supports thread local storage of extension function errors:
due to an unfortunate implementation of Saxon's FunctionProxy
only the exception message and no stacktrace or cause of an
error, occurred within an extension function, is available in the
resulting TransformerException.