"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErrorMessages = void 0;
var ErrorMessages;
(function (ErrorMessages) {
    // Default StateManager error message if a method that requires open state is called
    ErrorMessages["INVALID_STATE_MESSAGE"] = "State is NOT Opened";
    ErrorMessages["INVALID_SESSION_STATE_MESSAGE"] = "Session State is NOT Opened";
    ErrorMessages["INVALID_STREAM_CONNECTION_STATE_MESSAGE"] = "StreamConnection State is NOT Opened";
    // Stream was closed before initialization succeeds
    ErrorMessages["DROPPED_STREAM_INITIALIZATION"] = "Stream was closed before the connection was established!";
    // Stream connection receives closed authentication message
    ErrorMessages["FAILED_STREAM_AUTHENTICATION"] = "Stream connection authentication has failed";
    // Item stream receives an event that stream connection is closed
    ErrorMessages["CLOSED_STREAM_CONNECTION_TIMEOUT"] = "Stream connection has been closed. No response for a long time";
    // Item stream receives closed status/error message
    ErrorMessages["FAILED_ITEM_STREAM_INITIALIZATION"] = "Cannot open ItemStream";
    // Platform Session
    ErrorMessages["ONLY_STREAMING_CONNECTION"] = "Platform Session without Rdp credentials only supports streaming connection";
    // Streaming Prices
    ErrorMessages["STREAMING_PRICES_CANNOT_OPEN"] = "Cannot open PricingStream for any instrument name passed";
    // Chain Records
    ErrorMessages["STREAMING_CHAINS_CANNOT_OPEN"] = "Cannot open ItemStream for any chain records name passed";
    ErrorMessages["FIELD_NAME_MISSING"] = "Field name is missing";
    ErrorMessages["NON_REAL_TIME_FIELDS_REQUIRED"] = "Please specify only valid fields";
    // Container session
    ErrorMessages["TRANSPORT_MISSED"] = "Transport was not created";
    ErrorMessages["WRONG_TRANSPORT_TYPE"] = "Wrong transport type for Container Session";
    ErrorMessages["STREAMING_NOT_READY_OR_UNAVAILABLE"] = "The streaming channel is not ready yet or unavailable in this running environment. Please try again later";
    ErrorMessages["CONTAINER_VERSION_UNAVAILABLE"] = "\"containerVersion\" of JET.ContainerDescription is unavailable";
    ErrorMessages["INITIALIZE_FIRST"] = "You must initialize transports before use!";
    ErrorMessages["EDP_HELPER_UNAVAILABLE"] = "EDP helper is unavailable. Please check your container environment.";
    // Surfaces
    ErrorMessages["SURFACE_TAG_IS_MISSING"] = "Invalid input: surfaceTag is empty. Please fill it!";
})(ErrorMessages = exports.ErrorMessages || (exports.ErrorMessages = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItbWVzc2FnZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29uc3RhbnRzL2Vycm9yLW1lc3NhZ2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLElBQVksYUF3Q1g7QUF4Q0QsV0FBWSxhQUFhO0lBQ3JCLG9GQUFvRjtJQUNwRiw4REFBNkMsQ0FBQTtJQUM3Qyw4RUFBNkQsQ0FBQTtJQUM3RCxpR0FBZ0YsQ0FBQTtJQUVoRixtREFBbUQ7SUFDbkQsMkdBQTBGLENBQUE7SUFFMUYsMkRBQTJEO0lBQzNELDZGQUE0RSxDQUFBO0lBRTVFLGlFQUFpRTtJQUNqRSxvSEFBbUcsQ0FBQTtJQUVuRyxtREFBbUQ7SUFDbkQsNkVBQTRELENBQUE7SUFFNUQsbUJBQW1CO0lBQ25CLDBIQUF5RyxDQUFBO0lBRXpHLG1CQUFtQjtJQUNuQiwwR0FBeUYsQ0FBQTtJQUV6RixnQkFBZ0I7SUFDaEIsMEdBQXlGLENBQUE7SUFFekYsNkRBQTRDLENBQUE7SUFDNUMsbUZBQWtFLENBQUE7SUFFbEUsb0JBQW9CO0lBQ3BCLCtEQUE4QyxDQUFBO0lBQzlDLG9GQUFtRSxDQUFBO0lBQ25FLGlLQUFnSixDQUFBO0lBQ2hKLGtIQUErRixDQUFBO0lBQy9GLGdGQUErRCxDQUFBO0lBQy9ELCtHQUE4RixDQUFBO0lBRTlGLFdBQVc7SUFDWCwrRkFBOEUsQ0FBQTtBQUNsRixDQUFDLEVBeENXLGFBQWEsR0FBYixxQkFBYSxLQUFiLHFCQUFhLFFBd0N4QiJ9