|
testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
|
A transport operation exceeded its deadline — the TransportTimeouts connect budget or per-operation io deadline (see docker/Timeouts.hpp), or an internal handshake budget (the Ryuk registration). More...
#include <testcontainers/Error.hpp>
Public Member Functions | |
| TransportTimeoutError (const std::string &what, std::string resource_id={}) | |
| Public Member Functions inherited from testcontainers::DockerError | |
| DockerError (const std::string &what) | |
| DockerError (const std::string &what, std::optional< int > status_code, std::string resource_id={}) | |
| std::optional< int > | status_code () const noexcept |
| const std::string & | resource_id () const noexcept |
A transport operation exceeded its deadline — the TransportTimeouts connect budget or per-operation io deadline (see docker/Timeouts.hpp), or an internal handshake budget (the Ryuk registration).
The connection is unusable and has been discarded. No HTTP status exists for a timed-out exchange, so status_code() is std::nullopt. Distinct from StartupTimeoutError, which is about the container's readiness, not the daemon connection.
|
inlineexplicit |