returning lists of errors from a method

  • Thread starter Thread starter Andy B.
  • Start date Start date
A

Andy B.

I need to return a list of errors if there are any but need to keep it
platform independent. I don't want to depend on asp.net or just windows
forms for the availability of the method. Is it safe to say that I can
return a collection of errors so the client can loop through them if needed?
 
Andy B. said:
I need to return a list of errors if there are any but need to keep it
platform independent. I don't want to depend on asp.net or just windows
forms for the availability of the method. Is it safe to say that I can
return a collection of errors so the client can loop through them if
needed?

Yes, you could do that.
 
Andy,

As I thought I answered already in a previous message. A fixed Array of
booleans is in my idea all you need.

Otherwise it becomes direct a list of objects from a type that describes the
error

Cor
 
Back
Top