feat(api, core): Доделал атомарный захват задачи роботом.

This commit is contained in:
Mikhail Trubnikov
2026-05-26 11:26:52 +10:00
parent ab563f88b9
commit 856b273e6b
13 changed files with 892 additions and 443 deletions

View File

@@ -32,6 +32,7 @@ namespace PARR.API.Infrastructure.Middleware
AlreadyExistsException => StatusCodes.Status409Conflict,
UnauthorizedException => StatusCodes.Status401Unauthorized,
ForbiddenException => StatusCodes.Status403Forbidden,
NextRunException => StatusCodes.Status422UnprocessableEntity,
//todo: ---------- другие ошибки ----------
_ => StatusCodes.Status500InternalServerError
};