Google Cloud Storage C++ Client  1.40.2
A C++ Client Library for Google Cloud Storage
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.

Definition at line 29 of file hash_mismatch_error.h.

Constructor & Destructor Documentation

◆ HashMismatchError()

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

Definition at line 31 of file hash_mismatch_error.h.

Member Function Documentation

◆ computed_hash()

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

Definition at line 38 of file hash_mismatch_error.h.

◆ received_hash()

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

Definition at line 37 of file hash_mismatch_error.h.