Subject: | Default values for extra Exception fields |
Hello!
Quite often I run into a need to have the default values for the extra
Exception fields. For example, for my Web application I have such base
exception:
'MyApp::Exception' => {
description => "Base MyApp exception.",
fields => 'status',
}
And I'd like to set HTTP_INTERNAL_SERVER_ERROR value by default for
'status' field for all generated exceptions. This is just one simple
example.
What do you think about adding this feature?