refactor: add missing jsdoc for IncorrectJsonFormatError constructor (#3154)

This commit is contained in:
Alexandr Garbuzov
2023-08-28 10:17:19 +03:00
committed by GitHub
parent ecf1db6dce
commit 7b3cc85d32
+5
View File
@@ -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";