@ernestoyoofi/yt.loader-to
Version:
An unofficial, promise-based API wrapper for `loader.to` to fetch YouTube video information and generate download links. Written in TypeScript, it's fully typed and easy to use in any Node.js project.
13 lines (12 loc) • 421 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class GetProcessingDownloadError extends Error {
constructor(message, code, detail) {
super(message);
this.name = 'GetInfoYoutubeContent';
Object.setPrototypeOf(this, GetProcessingDownloadError.prototype);
this.code = code;
this.detail = detail;
}
}
exports.default = GetProcessingDownloadError;