typescriptMITTrust: scannedUsed 2×

tryCatch (Result wrapper)

A generic Result<T> type and tryCatch helper that wraps a promise, returning either a success value or an error object. Reusable commodity utility with no project-specific coupling.

Preview

9 lines
// aperçu protégé · typescript · 9 lignes

9 more lines are delivered on retrieval, with the full verified card and its proof receipt.

What you get on retrieval

  • · The complete verified implementation, written to bytes by the MCP tool (near-zero output tokens).
  • · A proof receipt: source provenance, review status, license state and estimated savings.
  • · Revocation coverage — if a security fix lands on this primitive, retrievers are notified.