Why do you want error codes? Do you want something like this?

  throw new sfValidatorException('string_too_large');

Fabien

Lukas Kahwe Smith wrote:
> Fabien POTENCIER wrote:
> 
>> What do you mean by "place them in the exception"? I want to return an 
>> array of strings, so the user can use them as they want (think <ul> in a 
>> browser).
>>
>> Do you mean something like this?
>>
>>    throw new sfValidatorException('Error', $anArrayOfErrorStrings);
> 
> Yeah, though like I said, I prefer error codes instead of error strings ..
> 
> regards,
> Lukas
> 
> 
> > 
> 
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to