ultisuite-backend/internal/photos/errors.go
R3D347HR4Y f0f0b31043 Implement Photos API robustness and quota integration
Improve Immich-backed photos endpoints with robust mapping/error handling, full albums CRUD, reliable list pagination/sorting/filtering, and shared Nextcloud quota checks before upload.
2026-05-22 21:09:13 +02:00

13 lines
207 B
Go

package photos
import "fmt"
type HTTPStatusError struct {
Operation string
StatusCode int
}
func (e *HTTPStatusError) Error() string {
return fmt.Sprintf("%s failed: %d", e.Operation, e.StatusCode)
}