Keypop Reader C++ API 2.0.0
Reference Reader API for C++
CardReaderObservationExceptionHandlerSpi.hpp
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2024 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at https://opensource.org/licenses/MIT. *
6 * *
7 * SPDX-License-Identifier: MIT *
8 **************************************************************************************************/
9
10#pragma once
11
12#include <memory>
13#include <stdexcept>
14#include <string>
15
16namespace keypop {
17namespace reader {
18namespace spi {
19
27public:
39 const std::string& contextInfo,
40 const std::string& readerName,
41 const std::shared_ptr<std::exception> e)
42 = 0;
43};
44
45} /* namespace spi */
46} /* namespace reader */
47} /* namespace keypop */
virtual void onReaderObservationError(const std::string &contextInfo, const std::string &readerName, const std::shared_ptr< std::exception > e)=0