feat: add generic queue and subscription retirement

This commit is contained in:
2026-09-27 14:39:49 +08:00
parent d54bdd9847
commit c9e877c3f7
53 changed files with 1013 additions and 88 deletions

View File

@@ -22,6 +22,7 @@ var (
Unauthorized = New("UNAUTHENTICATED", "valid credentials are required")
Forbidden = New("PERMISSION_DENIED", "operation is not allowed")
NotFound = New("NOT_FOUND", "resource not found")
Retired = New("RESOURCE_RETIRED", "resource is retired; history remains available")
Conflict = New("STATE_CONFLICT", "resource state does not allow this operation")
IdempotencyConflict = New("IDEMPOTENCY_CONFLICT", "idempotency key was used with different content")
Unavailable = New("UNAVAILABLE", "service temporarily unavailable; retry using the original operation identity")