Hi,

I'm currently working on improved error message for failed interpretation of 
query arguments. Currently if I do that:

<%args>
int a;
</%args>

and the component receives either no "a" or a "a" which is not a number, 
Tntnet throws an error with the message:

        cannot cast "the-value"

But there are much more informations available here. We have a typename, a 
variable name and the value. I would like to get that information into the 
error message. Something like that:

        cannot interpret value "the-value" as <int> for argument "a"

or

        invalid format in value "the-value" in argument "a" for type <int>

or

        failed to read <int> value from "the-value" for argument "a"

What is the best wording? Or do you have better suggestions?

Tommi

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to