lab2
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-10-16 05:27:13 +03:00
parent 65003b6119
commit 50b30b4b47
46 changed files with 6221 additions and 14 deletions
+11
View File
@@ -0,0 +1,11 @@
#pragma once
#include <exception>
#include <stdexcept>
// PostgreSQL или Valkey недоступны либо не ответили вовремя: клиент получает 503.
struct DependencyUnavailable : std::runtime_error {
using std::runtime_error::runtime_error;
};
bool is_dependency_failure(const std::exception& e);