Encapsulates the data produced when a service API call fails. More...
#include <Error.h>
Public Member Functions | |
bool | OnJsonKey (const char *key, JsonReader &reader) |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *reflection) |
Public Attributes | |
AZStd::string | type |
AZStd::string | message |
Describes the error. Intended for use by humans. | |
Encapsulates the data produced when a service API call fails.
AZStd::string AWSCore::Error::type |
Identifies the type of error. Intended for use by programs.
NetworkError - if there was a problem sending the request or receiving the response. e.g. due to timeouts or proxy issues.
ClientError - if the service determines that the client request was invalid in some way.
ServiceError - if the service had trouble executing the request.
ContentError - if an error occurs when producing or consuming JSON format content.
Services may return other error types.