I would look some ideas and comments on the following.


I have a CFC to handle errors, but I know that it is lacking a lot, and it's
not written the way it should be, thus I would appreciate some insight and
comments, so I can improve on this one.


Let's take for example the following code that would generate an error for a
missing datasource


*********************************************
CODE
*********************************************


<cfparam name="request.error" default="#structNew()#" type="struct">
<cfparam name="request.error.message" default="#arrayNew(1)#" type="array">
<cfparam name="request.error.exceptionHandled" default="false"
type="boolean">
<cfparam name="request.error.exceptionHandler" default="" type="string">


<!
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to