Docs cleanup

This commit is contained in:
iCrawl
2017-08-17 20:04:01 +02:00
parent 5ce0def9d0
commit 2aa2f73c74
40 changed files with 366 additions and 359 deletions

View File

@@ -6,7 +6,7 @@ const assert = require('assert');
const util = require('util');
/**
* Extend an error of some sort into a DiscordjsError
* Extend an error of some sort into a DiscordjsError.
* @param {Error} Base Base error to extend
* @returns {DiscordjsError}
*/
@@ -29,7 +29,7 @@ function makeDiscordjsError(Base) {
}
/**
* Format the message for an error
* Format the message for an error.
* @param {string} key Error key
* @param {Array<*>} args Arguments to pass for util format or as function args
* @returns {string} Formatted string
@@ -49,7 +49,7 @@ function message(key, args) {
}
/**
* Register an error code and message
* Register an error code and message.
* @param {string} sym Unique name for the error
* @param {*} val Value of the error
*/