Bound ordinary runs with attributable operation timeouts

This commit is contained in:
2026-11-14 17:37:25 +00:00
parent 2066579e09
commit d42b131de2
6 changed files with 144 additions and 3 deletions

View File

@@ -96,6 +96,8 @@ func mapUnownedPublicError(err error) error {
func publicErrorFor(err error) error {
switch {
case errors.Is(err, usecase.ErrOperationTimeout):
return ErrOperationTimeout
case errors.Is(err, promptdef.ErrPromptDefinitionNotFound):
return ErrPromptNotFound
case errors.Is(err, profile.ErrProfileNotFound):