SESSION_NOT_AVAILABLE: localize()

in src/extension/src/constants/messages.ts [36:70]


    SESSION_NOT_AVAILABLE: localize(
      "error.sessionNotAvailable",
      "There is no session available. Make sure the user is logged in."
    ),
    SUBSCRIPTION_NOT_DEFINED: localize(
      "error.subscriptionNotDefined",
      "Subscription Item cannot have undefined values."
    ),
    AZURE_RESOURCE_CLIENT_NOT_DEFINED: localize(
      "error.azureResourceClientNotDefined",
      "Azure resource management client cannot be undefined"
    ),
    WEBSITE_CLIENT_NOT_DEFINED: localize(
      "error.websiteClientNotDefined",
      "Website management client cannot be undefined."
    ),
    COSMOS_CLIENT_NOT_DEFINED: localize("error.cosmosClientNotDefined", "Cosmos client cannot be undefined"),
    CONNECTION_STRING_FAILED: localize(
      "error.connectionStringFailed",
      "CosmosDBDeploy: GetConnectionString Failed to create Client with SubscriptionItem - "
    ),
    RUNTIME_NOT_IMPLEMENTED: localize("error.runtimeNotImplemented", "Runtime not implemented yet"),
    APP_INVALID_NAME: localize(
      "error.appInvalidName",
      "Name must start/end with alphanumeric. Allowed characters: a-z, A-Z, 0-9, the '-' character."
    ),
    EMPTY_OUTPUT_PATH: localize("error.emptyOutputPath", "Output Path cannot be empty."),
    EMPTY_PROJECT_NAME: localize("error.emptyProjectName", "Project Name cannot be empty."),
    PROJECT_NAME_LENGTH_EXCEEDED_MAX: localize(
      "error.projectNameLengthExceededMax",
      "Project Name has to be less than 50 chars long."
    ),
    INVALID_OUTPUT_PATH: (path: string): string => {
      return localize("error.invalidOutputPath", "Path {0} does not exist.", path);
    },