'Returns the name of the error with any _Remote postfix removed.
:param error: Remote raised error to derive the name from.'

def local_error_name(self, error):

    error_name = reflection.get_class_name(error, fully_qualified=False)
    return error_name.split('_Remote')[0]
