Development - How do I trigger errors on the client (intentionally)?

I’m using the useUser() hook in this fashion:

const { user, error, isLoading } = useUser()

I’d like to know what happens when there’s an error so I can handle it in the UI properly. What can I do to intentionally make useUser() error out?