Showing line numbers in error message

Hello
when I use validate.struct() after this, if my content has some validation errors, this function returns those ValidationErrors.
Is there possibility that I can show customer the line number of that particular element ?
I am using yaml file to parse and validate content. If there is any possibility please suggest ?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.