Microsoft Azure Storage Client Library for C++  7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
Public Member Functions | List of all members
azure::storage::storage_extended_error Class Reference

Provides extended error information for a storage services error. More...

Public Member Functions

 storage_extended_error ()
 Initializes a new instance of the azure::storage::storage_extended_error class. More...
 
 storage_extended_error (utility::string_t code, utility::string_t message, std::unordered_map< utility::string_t, utility::string_t > details)
 Initializes a new instance of the azure::storage::storage_extended_error class. More...
 
const utility::string_t & code () const
 Gets the error code. More...
 
const utility::string_t & message () const
 Gets the error message. More...
 
const std::unordered_map< utility::string_t, utility::string_t > & details () const
 Gets the error details. More...
 

Detailed Description

Provides extended error information for a storage services error.

Constructor & Destructor Documentation

◆ storage_extended_error() [1/2]

azure::storage::storage_extended_error::storage_extended_error ( )
inline

Initializes a new instance of the azure::storage::storage_extended_error class.

◆ storage_extended_error() [2/2]

azure::storage::storage_extended_error::storage_extended_error ( utility::string_t  code,
utility::string_t  message,
std::unordered_map< utility::string_t, utility::string_t >  details 
)
inline

Initializes a new instance of the azure::storage::storage_extended_error class.

Parameters
codeThe error code.
messageThe error message.
detailsThe error details.

Member Function Documentation

◆ code()

const utility::string_t& azure::storage::storage_extended_error::code ( ) const
inline

Gets the error code.

Returns
A string containing the error code.

◆ details()

const std::unordered_map<utility::string_t, utility::string_t>& azure::storage::storage_extended_error::details ( ) const
inline

Gets the error details.

Returns
A string containing the error details.

◆ message()

const utility::string_t& azure::storage::storage_extended_error::message ( ) const
inline

Gets the error message.

Returns
A string containing the error message.