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 

8
2 172
Discussion (3)1
Log in or sign up to continue

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

cannot view the 1st picture

Sent the pdf of the page in direct message