Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.49 KB

errors-and-status-reference.md

File metadata and controls

40 lines (31 loc) · 2.49 KB
title Errors and status reference
description Package-generation status behavior and operational failure categories.

Errors and status reference

Package generation

Signal Meaning Action
HTTP 422 Unprocessable Entity Package generation understood the request but the public contract uses an unsupported feature Fix the Receiver surface, republish, and request the package again
[GRAFT:FRAMEWORK_TYPE_IN_PUBLIC_API] A non-parsable framework type appears in a public API Replace the named type, or use parsable types / plain models
Using complex types from framework in public interfaces is not supported yet. Type used <type> Non-parsable framework-type error message Use primitives/plain models, language arrays, or parsable types; regenerate

Treat 422 as the signal that a public type is unsupported for package generation. Parsable catalog types (for example System.DateTime, System.Guid) are handled separately and typically do not trigger this message. Do not generalize 422 into a complete HTTP status contract for every package-manager route.

Gateway and invocation

Failure Likely boundary Action
No discovered type Module/runtime selection or public exports Pass the module path explicitly; inspect Vision
Local module FileNotFound Caller remained in inmemory Configure generated remote host before first call
Connection failure Listener, route, firewall, proxy, or Gateway Verify selected port/protocol and process readiness
Receiver exception User code or Receiver dependency Preserve actionable message; do not retry domain errors
State missing after restart Remote object identity was stateful Recreate state or redesign static/stateless
Package 404 Wrong/stale registry-qualified command Copy the current command from Vision

There is no universal mapping from Receiver exceptions to HTTP-like status codes. Runtime calls surface native/runtime errors through Hypertube, so test error handling for each generated Caller.

Next steps