What is the proper way to handle error for authClient?

I can see that the response is { data, error } object, e.g.
const { data, error } = await authClient.admin.revokeUserSessions({ userId: user.id });

Is it enough or do I need to wrap with try.. catch.. block?
Was this page helpful?