https://supertokens.com/ logo
#support-questions
Title
# support-questions
g

gusfune

07/22/2021, 6:56 AM
We call this both from SSR, and from API (back-end). So it's a more generic approach to the data pulling part. If I return props it will error on API, and if I return 401, it will error on SSR. But knowing that that sends a response, I can then halt the rest of the call at the error handler. That is what I needed to know 😄