Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::storage::HashMismatchError Class Reference

Report checksum mismatches as exceptions. More...

#include <google/cloud/storage/hash_mismatch_error.h>

Public Member Functions

 HashMismatchError (std::string const &msg, std::string received, std::string computed)
 
std::string const & received_hash () const
 
std::string const & computed_hash () const
 

Detailed Description

Report checksum mismatches as exceptions.

Constructor & Destructor Documentation

◆ HashMismatchError()

google::cloud::storage::HashMismatchError::HashMismatchError ( std::string const &  msg,
std::string  received,
std::string  computed 
)
inlineexplicit

Member Function Documentation

◆ computed_hash()

std::string const & google::cloud::storage::HashMismatchError::computed_hash ( ) const
inline

◆ received_hash()

std::string const & google::cloud::storage::HashMismatchError::received_hash ( ) const
inline