sindresorhus / ow

Function argument validation for humans
https://sindresorhus.com/ow/
MIT License
3.81k stars 108 forks source link

Report multiple errors #133

Closed whitecrownclown closed 4 years ago

whitecrownclown commented 5 years ago

Fixes #5 @sindresorhus If you could have a look and let me know if i'm on the right track or not, that'd be great.

sindresorhus commented 4 years ago

so I think it should just be a nicely formatted text list of error messages in the returned error.message. - https://github.com/sindresorhus/ow/issues/5#issuecomment-336688647

I think some more effort should be spent into thinking about how to best present this.