Formatting convertToValues errors DT-list

When I validate a created EDI document by running convertToValues on the EDI string, I get validation errors returned in an errors Document list which is a recursive definition (childErrors).

Now I want to get this converted into an error string which I can use to throw an exception.

Any recommendations on how to do that are highly appreciated -