feat: integration cloudfile

This commit is contained in:
2026-09-06 12:33:38 +07:00
parent c2088f42dc
commit 888dd41dcd
24 changed files with 1148 additions and 28 deletions
+1
View File
@@ -25,6 +25,7 @@ public class ApiExceptionMiddleware(RequestDelegate next, ILogger<ApiExceptionMi
UnauthorizedException => (StatusCodes.Status401Unauthorized, ex.Message),
ForbiddenException => (StatusCodes.Status403Forbidden, ex.Message),
NotFoundException => (StatusCodes.Status404NotFound, ex.Message),
StorageUnavailableException => (StatusCodes.Status502BadGateway, "Storage backend is unavailable. Please try again."),
_ => (StatusCodes.Status500InternalServerError, "An unexpected error occurred"),
};