@barchart/events-api-common
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -12,2 +12,13 @@ const FailureType = require('@barchart/common-js/api/failures/FailureType'); | ||
/** | ||
* Unable to get by unexpected reasons. | ||
* | ||
* @public | ||
* @static | ||
* @returns {FailureType} | ||
*/ | ||
static EVENT_JOB_GET_FAILED() { | ||
return eventJobGetFailed; | ||
} | ||
/** | ||
* Unable to get, the report is still running. | ||
@@ -35,2 +46,3 @@ * | ||
const eventJobGetFailed = new FailureType('EVENT_JOB_GET_FAILED', 'Unable to get report because it\'s failed.'); | ||
const eventJobGetFailedRunning = new FailureType('EVENT_JOB_GET_FAILED_RUNNING', 'Unable to get report while it\'s running.'); | ||
@@ -37,0 +49,0 @@ const eventJobGetFailedNoJob = new FailureType('EVENT_JOB_GET_FAILED_NO_JOB', 'Unable to get report. The job source does not exist.'); |
{ | ||
"name": "@barchart/events-api-common", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Common classes used by the Event system", | ||
@@ -5,0 +5,0 @@ "author": { |
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
11891
437