|
NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
|
A provider returned an unsuccessful or malformed response. More...
#include <types.hpp>
Public Member Functions | |
| ProviderError (std::string message, Provider provider, int status, std::string code={}, std::string request_id={}) | |
| Creates an error with normalized provider and HTTP correlation details. | |
| Provider | provider () const noexcept |
| Returns the provider that produced the error. | |
| int | status () const noexcept |
| Returns the HTTP status, or zero when no status was available. | |
| const std::string & | code () const noexcept |
| Returns the provider-specific error code. | |
| const std::string & | request_id () const noexcept |
| Returns the provider request identifier when supplied. | |
A provider returned an unsuccessful or malformed response.