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) 2025 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 *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13#include <memory>
14#include <stdexcept>
15#include <string>
16
17namespace keypop {
18namespace reader {
19namespace spi {
20
29public:
41 const std::string& contextInfo,
42 const std::string& readerName,
43 const std::shared_ptr<std::exception> e)
44 = 0;
45};
46
47} /* namespace spi */
48} /* namespace reader */
49} /* namespace keypop */
virtual void onReaderObservationError(const std::string &contextInfo, const std::string &readerName, const std::shared_ptr< std::exception > e)=0