ie_error.hpp
Go to the documentation of this file.
1 // Copyright (C) 2018-2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 /**
6  * @brief A header file for a plugin logging mechanism
7  *
8  * @file ie_error.hpp
9  */
10 #pragma once
11 
12 namespace InferenceEngine {
13 /**
14  * @brief This class represents a custom error listener.
15  *
16  * Plugin consumers can provide it via InferenceEngine::SetLogCallback
17  */
19 public:
20  /**
21  * @brief The plugin calls this method with a null terminated error message (in case of error)
22  *
23  * @param msg Error message
24  */
25  virtual void onError(const char* msg) noexcept = 0;
26 };
27 } // namespace InferenceEngine
virtual void onError(const char *msg) noexcept=0
The plugin calls this method with a null terminated error message (in case of error) ...
Inference Engine API.
Definition: ie_argmax_layer.hpp:15
This class represents a custom error listener.
Definition: ie_error.hpp:18