docker: use ErrNotImplemented sentinel for deferred lifecycle ops #651

Open
opened 2026-08-13 13:56:24 +00:00 by the.auditor · 0 comments
Owner

internal/docker/deployer.go lifecycle ops (CreateSiteIngress, PublishSite, etc.) return ad-hoc fmt.Errorf("standalone container lifecycle not yet implemented"). A shared ErrNotImplemented sentinel in the errors package would let the HTTP API distinguish 501 from 500 until Phase 2 lands.

See PR #647.

`internal/docker/deployer.go` lifecycle ops (`CreateSiteIngress`, `PublishSite`, etc.) return ad-hoc `fmt.Errorf("standalone container lifecycle not yet implemented")`. A shared `ErrNotImplemented` sentinel in the `errors` package would let the HTTP API distinguish 501 from 500 until Phase 2 lands. See PR #647.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/thwap-pagesd#651
No description provided.