mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-14 08:58:28 +00:00
refactor: add missing jsdoc for IncorrectJsonFormatError constructor (#3154)
This commit is contained in:
committed by
GitHub
parent
ecf1db6dce
commit
7b3cc85d32
@@ -58,6 +58,11 @@ var PULL_REQUEST_ID;
|
||||
* @returns {Error} IncorrectJsonFormatError.
|
||||
*/
|
||||
class IncorrectJsonFormatError extends Error {
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param {string} message Error message.
|
||||
*/
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "IncorrectJsonFormatError";
|
||||
|
||||
Reference in New Issue
Block a user