forked from goatpig/BitcoinArmory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDbHeader.h
More file actions
26 lines (20 loc) · 860 Bytes
/
DbHeader.h
File metadata and controls
26 lines (20 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
////////////////////////////////////////////////////////////////////////////////
// //
// Copyright (C) 2016, goatpig. //
// Distributed under the MIT license //
// See LICENSE-MIT or https://opensource.org/licenses/MIT //
// //
////////////////////////////////////////////////////////////////////////////////
#ifndef _H_DB_HEADER
#define _H_DB_HEADER
#include <string>
class DbErrorMsg
{
const std::string err_;
public:
DbErrorMsg(const std::string& errstr) :
err_(errstr)
{}
const std::string& what(void) const { return err_; }
};
#endif