Error Semantics

Fail-closed integration boundaries: explicit rejection instead of silent fallbacks

A bounded integration should reject an unknown or unsafe state explicitly rather than quietly selecting a similar path. MEMM treats version, configuration, capability and authorization failures as named outcomes so the host can distinguish “not supported” from “temporarily unavailable” or “not allowed”.

Topics:Fail ClosedTyped ErrorsCapability NegotiationSafetyRecovery
The key relationship

Give uncertain states an explicit outcome

  1. Request

    Version, capability, configuration and permission

    check
  2. Check the boundary

    No silent substitute route

    report explicitly
  3. Named outcome

    Permitted · unsupported · unavailable · not allowed

Decision principle, not complete error or threat coverage. Only the permitted outcome may execute the requested action.

Typical reasons to reject explicitly

  • The API or profile version is unknown or not approved.
  • A requested capability is outside the current contract.
  • The lifecycle state does not permit the attempted operation.
  • Identity, policy or execution context is incompatible with the action.

Why stable errors matter as much as successful responses

OEM integrations must handle more than the happy path. Stable error classes let the host plan recovery, user messages and telemetry without exposing internal provider or library errors as public API contracts.

What this page explicitly does not claim: Fail-closed is an architecture principle, not a guarantee that every possible error or threat has already been modeled in every MEMM release.