@petitchevalroux/http-download-stream
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@petitchevalroux/http-download-stream", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Node transform stream downloading url in input with retry and rate limit", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
"use strict"; | ||
const Error = require("@petitchevalroux/error"); | ||
class HttpError extends Error { | ||
constructor(err) { | ||
super(err); | ||
if (err && typeof(err) === "object") { | ||
Object.assign(this, err); | ||
} | ||
} | ||
} | ||
module.exports = HttpError; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15644
12
343
5