Solved

Handling Error Message with Cold Fusion

Posted on 2004-08-10
7
173 Views
Last Modified: 2013-12-24
I'd like to handle error.
Particularly i'd like to get information about the error with cfml variables.
The problem is that the only variable i have are :
   - Error.ErrNumber, but I don't know how this variable can be interpreted,
   - the variable such as Error Diagnostic and Details, but they are in English, and what i want is something in French.
If you have an idea of how I can use ErrNumber or if there is something else i can do

thank you in advance
0
Comment
Question by:cofila
7 Comments
 
LVL 11

Accepted Solution

by:
hart earned 59 total points
ID: 11763511
in the cfadministrator you have an option to set the error template and set an email address for the errors..

what happens is when ever an error occurs on the site the html template specified by you in the cf administrator is shown to the user and the error details are mailed to the email address specified in the administrator...


But i am not sure how you can view it in french...
One thing you can do is paste the whole error in a translater site and view it in french...

Translator sites like "http://www.worldLingo.com/translate"

i am not 100% sure about the url...

Regards
Hart
0
 

Author Comment

by:cofila
ID: 11763783
It seems that you did  not understand well my question.
I need to create a page that print an explanation of the error in French. That is why I need to find something like the interpretation of the variable Error.ErrNumber.
In fonction of the error, my page will give an explanation to the user of what happened

Thank you in Advance
0
 
LVL 21

Assisted Solution

by:pinaldave
pinaldave earned 58 total points
ID: 11764182
Hi cofila,
Well, as you have mentioned that diagonistic and details can be translated into french. Error number is just a number so I assume that they are same. Or what you want to do is look up the error number and find out what is that error indicates? I am also not understanding the question here.
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/expres17.htm

Regards,
---Pinal
0
 

Author Comment

by:cofila
ID: 11770254
I will simplify my question.
Is there anyone that have an interpretation, or a translation of Error.ErrNumber ?

Thank you in Advance
0
 
LVL 3

Assisted Solution

by:truckpoetry
truckpoetry earned 58 total points
ID: 11779191
I think you might want to use Error.Message instead of Error.ErrNumber.

Is that what you are looking for?

I don't know of a listing of all possible ColdFusion Error.ErrNumber result codes.

Cameron
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now