Turi Create  4.0
syserr_reporting.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef TURI_SYSERR_REPORTING_H_
7 #define TURI_SYSERR_REPORTING_H_
8 
9 #include <string>
10 
11 /**
12  * \ingroup util
13  * Portable version of strerror
14  */
15 std::string get_last_err_str(unsigned err_code);
16 
17 #endif //TURI_SYSERR_REPORTING_H_
std::string get_last_err_str(unsigned err_code)