Turi Create
4.0
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
c
d
f
g
m
s
Typedefs
Enumerations
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
All
Functions
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
error.hpp
1
/* Copyright © 2018 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
7
#ifndef TURI_LOGGINC_ERROR_H_
8
#define TURI_LOGGINC_ERROR_H_
9
10
/*
11
* Error types to distinguish Turi Create errors from arbitrary C++ exceptions
12
*/
13
14
#include <ios>
15
#include <system_error>
16
17
namespace
turi
{
18
namespace
error {
19
20
class
io_error :
public
std::ios_base::failure {
21
private
:
22
std::string m_message;
23
24
public
:
25
explicit
io_error(
const
std::string &message);
26
27
virtual
const
char
*what() const COMPILER_MODIFIER_ON_EXCEPTION_WHAT override;
28
};
29
30
}
// namespace error
31
}
// namespace turi
32
33
#endif
34
35
turi
SKD.
Definition:
capi_initialization.hpp:11
core
logging
error.hpp
Generated by
1.8.13