Skip to content

Commit 7b3cc85

Browse files
authored
refactor: add missing jsdoc for IncorrectJsonFormatError constructor (#3154)
1 parent ecf1db6 commit 7b3cc85

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/preview-theme.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ var PULL_REQUEST_ID;
5858
* @returns {Error} IncorrectJsonFormatError.
5959
*/
6060
class IncorrectJsonFormatError extends Error {
61+
/**
62+
* Constructor.
63+
*
64+
* @param {string} message Error message.
65+
*/
6166
constructor(message) {
6267
super(message);
6368
this.name = "IncorrectJsonFormatError";

0 commit comments

Comments
 (0)