AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::Client::JsonErrorMarshaller Class Reference

#include <AWSErrorMarshaller.h>

+ Inheritance diagram for Aws::Client::JsonErrorMarshaller:

Public Member Functions

AWSError< CoreErrorsMarshall (const Aws::Http::HttpResponse &response) const override
- Public Member Functions inherited from Aws::Client::AWSErrorMarshaller
virtual ~AWSErrorMarshaller ()
virtual AWSError< CoreErrorsFindErrorByName (const char *exceptionName) const
virtual AWSError< CoreErrorsFindErrorByHttpResponseCode (Aws::Http::HttpResponseCode code) const
virtual Aws::String ExtractRegion (const AWSError< CoreErrors > &) const
virtual Aws::String ExtractEndpoint (const AWSError< CoreErrors > &) const

Protected Member Functions

const Aws::Utils::Json::JsonValueGetJsonPayloadFromError (const AWSError< CoreErrors > &) const
- Protected Member Functions inherited from Aws::Client::AWSErrorMarshaller
AWSError< CoreErrorsMarshall (const Aws::String &exceptionName, const Aws::String &message) const

Detailed Description

Definition at line 68 of file AWSErrorMarshaller.h.

Member Function Documentation

◆ GetJsonPayloadFromError()

const Aws::Utils::Json::JsonValue& Aws::Client::JsonErrorMarshaller::GetJsonPayloadFromError ( const AWSError< CoreErrors > &  ) const

◆ Marshall()

AWSError<CoreErrors> Aws::Client::JsonErrorMarshaller::Marshall ( const Aws::Http::HttpResponse response) const

Converts an exceptionName and message into an Error object, if it can be parsed. Otherwise, it returns and AWSError with CoreErrors::UNKNOWN as the error type.

Implements Aws::Client::AWSErrorMarshaller.

The documentation for this class was generated from the following file: