Add jsdoc constructor tags. [ci skip]

This commit is contained in:
John-David Dalton
2016-02-12 15:59:19 -08:00
parent df0ecd2a93
commit bf9dcfe89c
2 changed files with 7 additions and 2 deletions

View File

@@ -353,11 +353,11 @@
.join('');
/**
* The custom error constructor.
* Creates a custom error object.
*
* @private
* @constructor
* @param {string} message The error message.
* @returns {Object} Returns the new error object instance.
*/
function CustomError(message) {
this.name = 'CustomError';