@cumulus/errors
Advanced tools
Comparing version 1.17.0-alpha to 1.17.0-alpha2
@@ -29,2 +29,10 @@ const isFunction = require('lodash.isfunction'); | ||
/** | ||
* Test to see if a given exception is an AWS Throttling Exception | ||
* | ||
* @param {Error} err | ||
* @returns {boolean} | ||
*/ | ||
const isThrottlingException = (err) => err.code === 'ThrottlingException'; | ||
/** | ||
* Returns true if the error is a resource error. | ||
@@ -50,2 +58,3 @@ * | ||
isConditionalCheckException, | ||
isThrottlingException, | ||
isWorkflowError, | ||
@@ -52,0 +61,0 @@ |
{ | ||
"name": "@cumulus/errors", | ||
"version": "1.17.0-alpha", | ||
"version": "1.17.0-alpha2", | ||
"description": "Provides error classes for Cumulus", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
5289
93