If you throw a proper NetSuite Error object it mig...
# suitescript
e
If you throw a proper NetSuite Error object it might render more appropriately in the CSV