better-effect

Troubleshooting

Diagnose the most common type and lifecycle failures.

A debugging checklist

  1. Confirm the Service tag is non-empty and stable.
  2. Inspect LayerProvided, LayerRawRequired and LayerMissing when a composition root fails to typecheck.
  3. Verify the program runs inside the intended Runtime.
  4. Check whether the resource belongs to the root Scope or execution Scope.
  5. Preserve the primary Result/exception and inspect cleanup diagnostics separately.

On this page