def addAfterAbortHook(hook, args=(), kws=None):
    """Register a hook to call after a transaction abort.

        The specified hook function will be called after the
        transaction abort.

        *args* and *kws* are interpreted as for `addBeforeCommitHook`.
        As with `addBeforeCommitHook`, multiple hooks can be
        registered, savepoint creation doesn't call any hooks, and
        calling a hook consumes its registration.

        As with `addBeforeAbortHook`, these hooks are called only for
        a top-level abort. See that method for more.
        """
