Warning / Error Box Details Tab Access

How do I enable and pass data to the details tab of a warning / error box?

I am trying to perform a Web Services Call and if it fails I would like to pop up a warning with a simple message and place all the results into the details tab for debugging similar to how ignition does it with SQL errors. According to “help” you can only pass Title and message. If this is the case then why is there a Details tab?

The closest thing to the java error window would be to raise a custom exception with the details you want. You may have to play with the jython Exception() class to find the format you want.