veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
storage_io.hpp
1
// Copyright (c) 2019-2022 Xenios SEZC
2
// https://www.veriblock.org
3
// Distributed under the MIT software license, see the accompanying
4
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef VERIBLOCK_POP_CPP_STORAGE_IO_HPP
7
#define VERIBLOCK_POP_CPP_STORAGE_IO_HPP
8
9
#include <exception>
10
11
namespace
altintegration
{
12
16
struct
StorageIOException
:
public
std::domain_error {
17
StorageIOException
(
const
std::string& msg) : std::domain_error(msg) {}
18
};
19
20
}
// namespace altintegration
21
22
#endif
altintegration
Defines logging helpers.
Definition:
block.hpp:14
altintegration::StorageIOException
exception which is thrown on any IO errors.
Definition:
storage_io.hpp:16