We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65678b8 commit 29cfe8cCopy full SHA for 29cfe8c
packages/mongodb-memory-server-core/src/util/errors.ts
@@ -200,5 +200,14 @@ export class UnknownVersionError extends Error {
200
}
201
202
203
+/**
204
+ * Error for when downloading fails
205
+ */
206
+export class DownloadError extends Error {
207
+ constructor(public url: string, public msg: string) {
208
+ super(`Download failed for url \"${url}\", Details:\n${msg}`);
209
+ }
210
+}
211
+
212
/* Custom Generic Error class for MMS */
213
export class GenericMMSError extends Error {}
0 commit comments