Cotal TypeScript packages
    Preparing search index...

    Function attachRefusal

    • Classify a refusal on the manager's structured error, never on its wording. The wording is operator copy and changes; the code and namespaced detail are the contract. Getting this wrong in either direction is a real failure: reading permission-denied as transient turns a refusal into an infinite retry loop against a manager that has already said no, and reading not-found or an inspect static-slot observation as transient does the same to a seat that no longer exists. Other failed-precondition refusals remain transient, including the session ceiling.

      Parameters

      • code: string | undefined
      • Optionaldetails: { kind: string }[]

      Returns AttachRefusal