The docs for Try/Catch in in the XQuery_3.0 page say:

 

·         $err:additional: error stack trace

 

However, in my testing, this only returns the place where the error was thrown, not the complete stack trace as is shown e.g., in a web app when an exception is thrown.

 

Is it possible to get the stack trace in XQuery? I didn’t find anything searching on the BaseX-supplied DBA app.

 

Thanks,

 

E.

_____________________________________________

Eliot Kimber

Sr Staff Content Engineer

O: 512 554 9368

M: 512 554 9368

servicenow.com

LinkedIn | Twitter | YouTube | Facebook