How to return error from Auth0 hooks

I’m waiting for an answer to this as well.