Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it would be better accept option to set error type and structure #9

Open
eisneim opened this issue Apr 30, 2015 · 0 comments
Open

it would be better accept option to set error type and structure #9

eisneim opened this issue Apr 30, 2015 · 0 comments

Comments

@eisneim
Copy link

eisneim commented Apr 30, 2015

i looked into the code ,there is a

// var opt = opt || {};

it would be useful if i can set type of this.errors( which defaults to an array ), so i don't have to modify the "this.error" object to proper handling or logging;

i remember express-validator can do that;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant