You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was going through the documentation and I saw the explanation given about error handling.
What I am trying to achieve is being able to return an html file in a situation where the endpoint is not provided. I wanted to just go ahead and add my function for 404/not found errors.
But, I was concerned about it interfering with situations where I return a 404 itself. E.g: When a user makes a request to get information about a user and the user isn't available.
Your response and suggestion would be greatly appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
I was going through the documentation and I saw the explanation given about error handling.
What I am trying to achieve is being able to return an html file in a situation where the endpoint is not provided. I wanted to just go ahead and add my function for 404/not found errors.
But, I was concerned about it interfering with situations where I return a 404 itself. E.g: When a user makes a request to get information about a user and the user isn't available.
Your response and suggestion would be greatly appreciated.
Thanks
The text was updated successfully, but these errors were encountered: