Answer the question
In order to leave comments, you need to log in
Send errors in array or one at a time?
Let's say we validate the data, and generally process errors. What is the best way to send these errors back?
1. Pass all validation, collect errors in an array and send
2. Send the first error immediately
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question