Written by

Senior Startups and Community Programs Manager at InterSystems Corporation
Article Evgeny Shvarov · Aug 30, 2022 1m read

Standard "custom" Error Page For CSP Web Application

Hi folks!

It's not an innovation, but often I saw not a very informative Error page for CSP apps and got it for myself. Something like that:

Turned out that it is relatively easy to make the same page return meaningful error messages. Just add %CSP.Error.cls as a Custom error handling class here:

And the same page will start showing meaningful errors, like in a screenshot below:

Credit goes to @Sean Connelly 

Comments

Alex Woodhead · Aug 30, 2022

Thanks @Sean Connelly 

Reminded within a "csp page" context can use the following to output context information when not in error.

set %response.TraceDump=1
0
Evgeny Shvarov  Aug 31, 2022 to Michael Lei

Sent the pdf of the page in direct message

0