Does the info at http://wiki.coldbox.org/wiki/ExceptionHandling.cfm still apply in Coldbox 4? Specifically the 2nd paragraph titled “Global Exception Handler” ? I’m reading the statement “…ColdBox will also place an object in the request collection called exceptionBean.”. I believe it worked in 3.8 but now I get “Element EXCEPTIONBEAN is undefined in RC.”. I could be imagining that it was working the way I had things set in 3.8 but I believe it was working.
Actually, looking at the code in Bootstrap.cfc, it looks like it’s now prc.exception.
// Store exception in private context
event.setValue( “exception”, oException, true );
I’ll add that to the compatibility doc.
And to answer your original question, most of the wiki applies to ColdBox 4.0, but is technically locked at 3.8.x. The new GitBook is going to be the 4.0 docs going forward so we’re working on bringing over all the old wiki content, updating it, and figuring out what to keep as we go.