|
testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
|
The daemon replied 404: the referenced resource does not exist. More...
#include <testcontainers/Error.hpp>
Public Member Functions | |
| NotFoundError (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 |
The daemon replied 404: the referenced resource does not exist.
status_code() is always 404. Caveat for image pulls: the registry deliberately answers "not found" for private images requested without credentials, so a pull NotFoundError can also mean "authentication required".
|
inlineexplicit |