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  * @deprecated IErrorListener is not used anymore. An exception is thrown / StatusCode set in case of any unexpected situations
15  * The class will be removed in 2021.1 release.
16  * @brief This class represents a custom error listener.
17  */
18 class
19 INFERENCE_ENGINE_DEPRECATED("IErrorListener is not used anymore. An exception is thrown / StatusCode set in case of any unexpected situations")
21 public:
22  /**
23  * @brief The plugin calls this method with a null terminated error message (in case of error)
24  * @param msg Error message
25  */
26  virtual void onError(const char* msg) noexcept = 0;
27 };
28 } // namespace InferenceEngine
Inference Engine API.
Definition: ie_argmax_layer.hpp:15
This class represents a custom error listener.
Definition: ie_error.hpp:18