Hi All
Is it possible to throw a friendly error when a Function is called with the incorrect datatypes or missing values?
For example if a user invoked a web method located on a web service which only excepted a value which was of datatype date with a value of 'bob' how could I get a friendly message to be returned instead of an exception? I know I could except all arguments as string and then convert/validate them but is there an other way?
Many Thanks
Colin
Is it possible to throw a friendly error when a Function is called with the incorrect datatypes or missing values?
For example if a user invoked a web method located on a web service which only excepted a value which was of datatype date with a value of 'bob' how could I get a friendly message to be returned instead of an exception? I know I could except all arguments as string and then convert/validate them but is there an other way?
Many Thanks
Colin