Skip to content

Errors, uploads, and endpoint patterns

View as Markdown

These endpoint patterns share the contract boundary but solve different problems. Read only the page required by the operation:

The shared contract owns the wire shape. The route adapter owns request parsing and HTTP translation. Domain code owns invariants. Unexpected failures remain on the application’s central error path.