DSAR
Errors

DSAR-PP-1599: POLICY_PACKS_UNCATALOGED_ERROR

Meaning

The runtime emitted an error code that is not present in the policy packs catalog and fell back to uncataloged handling.

Probable Causes

  • New error code emitted without catalog/docs entry.
  • Typo in error code from throw site.

How to Fix

  1. Add the missing code to policy packs catalog.
  2. Add matching per-code docs markdown file.
  3. Update policy-packs error-code contract tests to include DSAR-PP-1599 (dsar-pp-1599).

Retryable

Unknown until cataloged. Do not assume retryability from POLICY_PACKS_UNCATALOGED_ERROR alone; determine transience from cataloged error types and instrumentation.

Minimal Trigger Example

import { resolvePolicyPacksErrorCatalogEntry } from "@dsar/policy-packs";

const entry = resolvePolicyPacksErrorCatalogEntry(
	"POLICY_PACKS_NOT_A_REAL_CODE"
);
console.log(entry.code); // "POLICY_PACKS_UNCATALOGED_ERROR"