Why when using validateSync when an error occurs, why does it return not an error but a trace of the error path?
I have a value that needs to be checked before sending. There is some validation scheme on yup. I want to validate the value using this scheme and if the validation fails, I want to display the error in a popup notification. But for some reason when validating via validateSync I get a huge path back but not the validation error itself?