Including layout with CustomExceptionTemplate

After reading
, I haven't been able to find a solution to my problem.

In my configuration, I have the setting for the CustomErrorTemplate as
<Setting name="CustomErrorTemplate" value="views/error.cfm" />

It looks like ColdBox simply includes this template. Is it possible to
render this view with the Layout.Main layout I used for the rest of
the site? This way, my error template won't be plain, and I won't need
to have a separate layout specific to an error.

Does anyone have any thoughts on this? I am curious as well and have
been unsuccessful.

The docs say this page does not get rendered as a normal view so you'd
have to muck around with the controller to set the layout if possible.
Don't know the exact path but it'd be something like

get controller . get requestservice . get context . set layout

- Gabriel