'Raise an exception for unimplemented types.'

def fail(self, object, name=None, *args):

    message = ("don't    know    how    to    document    object%s    of    type    %s" % ((name and ('    ' + repr(name))), type(object).__name__))
    raise TypeError, message
