mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Add jsdoc constructor tags. [ci skip]
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user