不要怂,就是干,撸起袖子干!

Commit 268acbde by Brian Romanko

Adding JSDoc comments

1 parent 5c050202
Showing with 3 additions and 2 deletions
......@@ -25,6 +25,8 @@ util.inherits(error.BaseError, Error);
/**
* Validation Error
*
* @param {string} message Error message
* @param {Array} [errors] Array of ValidationErrorItem objects describing the validation errors
* @constructor
*/
error.ValidationError = function(message, errors) {
......@@ -64,4 +66,4 @@ error.ValidationErrorItem = function(message, type, path, value) {
this.type = type || null;
this.path = path || null;
this.value = value || null;
};
\ No newline at end of file
};
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!