pixeldrainjs
Version:
A NodeJS Wrapper for the pixeldrain.com API
15 lines • 494 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PixeldrainAPIError = void 0;
class PixeldrainAPIError extends Error {
constructor(message, value, fileID) {
super(message);
this.value = value;
this.fileID = fileID;
}
toString() {
return this.message + '\n' + this.value + '\n' + this.fileID ? this.fileID : "";
}
}
exports.PixeldrainAPIError = PixeldrainAPIError;
//# sourceMappingURL=pixeldrainapierror.js.map