conductor-node 9.4.0 → 9.4.1
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/package.json
CHANGED
|
@@ -80,7 +80,7 @@ function wrapError(error) {
|
|
|
80
80
|
if (errorExtensions["code"] === "GRAPHQL_VALIDATION_FAILED") {
|
|
81
81
|
return new error_1.ConductorInvalidRequestError({
|
|
82
82
|
code: "CLIENT_OUTDATED",
|
|
83
|
-
message: `Your version of "${package_json_1.default.name}" is
|
|
83
|
+
message: `Your version of "${package_json_1.default.name}" is no longer compatible with the Conductor server. Please run "yarn upgrade ${package_json_1.default.name} --latest" to update.`,
|
|
84
84
|
httpStatusCode: response.status,
|
|
85
85
|
});
|
|
86
86
|
}
|
package/dist/src/utils/error.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/* eslint-disable max-classes-per-file -- Use one module for all error classes. */
|
|
2
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
4
|
exports.generateConductorErrorFromType = exports.ConductorUnknownError = exports.ConductorInternalError = exports.ConductorConnectionError = exports.ConductorAuthenticationError = exports.ConductorInvalidRequestError = exports.ConductorIntegrationConnectionError = exports.ConductorIntegrationError = exports.ConductorError = exports.DEFAULT_END_USER_MESSAGE = void 0;
|
|
4
|
-
|
|
5
|
-
// Matches server-side default value.
|
|
5
|
+
// Matches server-side value.
|
|
6
6
|
exports.DEFAULT_END_USER_MESSAGE = "An internal server error occurred. Please try again later.";
|
|
7
7
|
/**
|
|
8
8
|
* The base error from which all other more specific Conductor errors derive.
|
package/package.json
CHANGED