Created JDownloaderClient.

This commit is contained in:
2021-06-12 00:19:25 -05:00
parent bc604960fd
commit ee159c081a
4 changed files with 141 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
class JDownloaderError extends Error {
constructor(message) {
super(message);
this.name = 'JDownloaderError';
}
}
module.exports = JDownloaderError;

View File

@@ -1,7 +1,9 @@
const FatalError = require('./FatalError');
const ScraperError = require('./ScraperError');
const JDownloaderError = require('./JDownloaderError');
module.exports = {
FatalError,
ScraperError
ScraperError,
JDownloaderError
};