Skip to content

Commit

Permalink
Fix type with jsdoc for ERR_MSGS
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacgr committed Sep 9, 2021
1 parent 6073a2c commit 1c787da
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/util/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ const ERR_CODES = {
};

/**
* @property {object} ERR_CODES
* @property {string} ERR_CODES.parseError "Parse Error"
* @property {string} ERR_CODES.invalidRequest "Invalid Request"
* @property {string} ERR_CODES.methodNotFound "Method not found"
* @property {string} ERR_CODES.invalidParams "Invalid Parameters"
* @property {string} ERR_CODES.internal "Internal Error"
* @property {string} ERR_CODES.timeout "Request Timeout"
* @property {string} ERR_CODES.unknown "Unknown Error"
* @property {object} ERR_MSGS
* @property {string} ERR_MSGS.parseError "Parse Error"
* @property {string} ERR_MSGS.invalidRequest "Invalid Request"
* @property {string} ERR_MSGS.methodNotFound "Method not found"
* @property {string} ERR_MSGS.invalidParams "Invalid Parameters"
* @property {string} ERR_MSGS.internal "Internal Error"
* @property {string} ERR_MSGS.timeout "Request Timeout"
* @property {string} ERR_MSGS.unknown "Unknown Error"
* @memberof Utils.constants
*/
const ERR_MSGS = {
Expand Down

0 comments on commit 1c787da

Please sign in to comment.