@malloy-publisher/server 0.2.2 → 0.2.4

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.
@@ -16,7 +16,7 @@ SPDX-License-Identifier: MIT
16
16
  href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
17
17
  />
18
18
  <title>Malloy Publisher</title>
19
- <script type="module" crossorigin src="/assets/index-O-tznXBH.js"></script>
19
+ <script type="module" crossorigin src="/assets/index-sZHvyEzw.js"></script>
20
20
  <link rel="stylesheet" crossorigin href="/assets/index-5eLCcNmP.css">
21
21
  </head>
22
22
  <body>
@@ -2416,7 +2416,7 @@ function httpError(code, message) {
2416
2416
  }
2417
2417
  };
2418
2418
  }
2419
- var NotImplementedError, BadRequestError, InvalidArgumentError, EnvironmentNotFoundError, PackageNotFoundError, ModelNotFoundError, DashboardNotFoundError, ConnectionNotFoundError, ConnectionError, DestinationNotFoundError, ConnectionAuthError, UnsupportedCatalogFormatError, ModelCompilationError, MaterializationEligibilityError, FrozenConfigError, AccessDeniedError, NotQueryableError, MaterializationNotFoundError, MaterializationConflictError, InvalidStateTransitionError, ServiceUnavailableError, PayloadTooLargeError, ResponseUnserializableError, QueryTimeoutError;
2419
+ var NotImplementedError, BadRequestError, InvalidArgumentError, EnvironmentNotFoundError, PackageNotFoundError, ModelNotFoundError, DashboardNotFoundError, ConnectionNotFoundError, ConnectionError, DestinationNotFoundError, ConnectionAuthError, UnsupportedCatalogFormatError, ModelCompilationError, MaterializationEligibilityError, PublisherConfigError, FrozenConfigError, AccessDeniedError, NotQueryableError, MaterializationNotFoundError, MaterializationConflictError, InvalidStateTransitionError, ServiceUnavailableError, PayloadTooLargeError, ResponseUnserializableError, QueryTimeoutError;
2420
2420
  var init_errors = __esm(() => {
2421
2421
  init_constants();
2422
2422
  NotImplementedError = class NotImplementedError extends Error {
@@ -2489,6 +2489,13 @@ var init_errors = __esm(() => {
2489
2489
  this.reason = error.reason;
2490
2490
  }
2491
2491
  };
2492
+ PublisherConfigError = class PublisherConfigError extends Error {
2493
+ constructor(configName, cause) {
2494
+ super(`Could not read ${configName}: ${cause instanceof Error ? cause.message : String(cause)}. Fix the file, or move it aside to fall back to the bundled default.`);
2495
+ this.name = "PublisherConfigError";
2496
+ this.cause = cause;
2497
+ }
2498
+ };
2492
2499
  FrozenConfigError = class FrozenConfigError extends Error {
2493
2500
  constructor(message = `Publisher config can't be updated when ${PUBLISHER_CONFIG_NAME} has { "frozenConfig": true }`) {
2494
2501
  super(message);