Google Cloud Storage C++ Client  1.32.1
A C++ Client Library for Google Cloud Storage
Public Member Functions | List of all members
google::cloud::storage::v1::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.

Definition at line 29 of file hash_mismatch_error.h.

Constructor & Destructor Documentation

◆ HashMismatchError()

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

Definition at line 31 of file hash_mismatch_error.h.

Member Function Documentation

◆ computed_hash()

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

Definition at line 38 of file hash_mismatch_error.h.

◆ received_hash()

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

Definition at line 37 of file hash_mismatch_error.h.