Getting a TypeError in the .error function
I have been trying to get the Error Message after I have used ZOD for creating Custom Errors. But unfortunately getting the TypeError as the “.errors” is empty (as it says in the terminal).
I have been trying to get the Error Message after I have used ZOD for creating Custom Errors. But unfortunately getting the TypeError as the “.errors” is empty (as it says in the terminal).