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