MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / Error

Class Error

tools/comdb2ar/error.h:24–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include <sstream>
23
24class Error : public std::exception
25// This is a generic exception class which takes a string of some sort
26// to represent what went wrong.
27{
28 std::string m_error;
29
30public:
31 Error(const char *error);
32 Error(const std::string &error);
33 Error(const std::stringstream &errorss);
34 Error(const std::ostringstream &errorss);
35
36 virtual ~Error() throw();
37
38 virtual const char* what() const throw();
39};
40
41#endif // INCLUDED_ERROR

Callers 15

read_serialised_sha_fileFunction · 0.85
compare_checksumFunction · 0.85
serialise_incr_fileFunction · 0.85
writepaddingFunction · 0.85
serialise_fileFunction · 0.85
serialise_databaseFunction · 0.85
write_incremental_fileFunction · 0.85
create_partialsFunction · 0.85
LogHolderMethod · 0.85
DB_WrapMethod · 0.85
get_sparseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected