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