def client_errors(self, exc): key = getattr(self, "error_lookup", {}).get(exc.id, "__all__") return format_client_error(key, exc)
def client_errors(self, exc): return self.form_errors(format_client_error('__all__', exc))
def client_errors(self, exc): key = getattr(self, 'error_lookup', {}).get(exc.id, '__all__') return format_client_error(key, exc)