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