@cumulus/errors 10.1.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -0
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -327,5 +327,12 @@ export declare const IndexExistsError: {
|
|
|
327
327
|
stack?: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
};
|
|
330
|
+
export declare const UnmetRequirementsError: {
|
|
331
|
+
new (message: string): {
|
|
332
|
+
name: string;
|
|
333
|
+
message: string;
|
|
334
|
+
stack?: string | undefined;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
330
337
|
export {};
|
|
331
338
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IndexExistsError = exports.PostgresUpdateFailed = exports.PostgresValidationError = exports.GranuleNotPublished = exports.RecordAlreadyMigrated = exports.MissingRequiredEnvVarError = exports.ValidationError = exports.UnparsableFileLocationError = exports.UnmatchedRegexError = exports.UnexpectedFileSize = exports.RecordDoesNotExist = exports.PDRParsingError = exports.MissingRequiredEnvVar = exports.MissingRequiredArgument = exports.MismatchPdrCollection = exports.InvalidRegexError = exports.InvalidChecksum = exports.InvalidArgument = exports.HostNotFound = exports.ApiCollisionError = exports.FTPError = exports.FileNotFound = exports.EcsStartTaskError = exports.DuplicateFile = exports.DeletePublishedGranule = exports.CumulusMessageError = exports.ConnectionTimeout = exports.ProviderNotFound = exports.MissingBucketMap = exports.CMRInternalError = exports.CMRMetaFileNotFound = exports.XmlMetaFileNotFound = exports.RemoteResourceError = exports.ResourcesLockedError = exports.IncompleteError = exports.NotNeededError = exports.WorkflowError = exports.isConditionalCheckException = exports.isWorkflowError = exports.isThrottlingException = exports.ThrottlingException = exports.createErrorType = void 0;
|
|
3
|
+
exports.UnmetRequirementsError = exports.IndexExistsError = exports.PostgresUpdateFailed = exports.PostgresValidationError = exports.GranuleNotPublished = exports.RecordAlreadyMigrated = exports.MissingRequiredEnvVarError = exports.ValidationError = exports.UnparsableFileLocationError = exports.UnmatchedRegexError = exports.UnexpectedFileSize = exports.RecordDoesNotExist = exports.PDRParsingError = exports.MissingRequiredEnvVar = exports.MissingRequiredArgument = exports.MismatchPdrCollection = exports.InvalidRegexError = exports.InvalidChecksum = exports.InvalidArgument = exports.HostNotFound = exports.ApiCollisionError = exports.FTPError = exports.FileNotFound = exports.EcsStartTaskError = exports.DuplicateFile = exports.DeletePublishedGranule = exports.CumulusMessageError = exports.ConnectionTimeout = exports.ProviderNotFound = exports.MissingBucketMap = exports.CMRInternalError = exports.CMRMetaFileNotFound = exports.XmlMetaFileNotFound = exports.RemoteResourceError = exports.ResourcesLockedError = exports.IncompleteError = exports.NotNeededError = exports.WorkflowError = exports.isConditionalCheckException = exports.isWorkflowError = exports.isThrottlingException = exports.ThrottlingException = exports.createErrorType = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Creates a new error type with the given name and parent class. Sets up
|
|
6
6
|
* boilerplate necessary to successfully subclass Error and preserve stack trace
|
|
@@ -119,4 +119,5 @@ class PostgresValidationError extends exports.ValidationError {
|
|
|
119
119
|
exports.PostgresValidationError = PostgresValidationError;
|
|
120
120
|
exports.PostgresUpdateFailed = (0, exports.createErrorType)('PostgresUpdateFailed');
|
|
121
121
|
exports.IndexExistsError = (0, exports.createErrorType)('IndexExistsError');
|
|
122
|
+
exports.UnmetRequirementsError = (0, exports.createErrorType)('UnmetRequirementsError');
|
|
122
123
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/errors",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"description": "Provides error classes for Cumulus",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"GIBS",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
},
|
|
34
34
|
"author": "Cumulus Authors",
|
|
35
35
|
"license": "Apache-2.0",
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "e922ad12fd94affa6cd60a97a184a465a756c50b"
|
|
37
37
|
}
|