IOLink
IOL_v1.6.1_release
Changes
ChangeLog
API ChangeLog
User guide
Capacities
Overview
Installation
Getting started
View concept
Storage concept
Fundamentals
Custom implementation
Serialization
Extensions
Data Frames
Namespaces
Namespace List
Namespace Members
All
a
c
d
i
l
m
o
p
r
s
v
Functions
Typedefs
a
d
i
m
p
r
s
v
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class 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
Typedefs
Related Functions
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
Error.h
1
#pragma once
2
3
#include <iolink/IOLinkAPI.h>
4
#include <exception>
5
#include <string>
6
7
namespace
iolink
8
{
12
class
IOLINK_API
Error
:
public
std::exception
13
{
14
public
:
15
explicit
Error
(
const
std::string& msg);
16
17
const
char
* what()
const
noexcept
override
;
18
19
~
Error
() =
default
;
20
21
private
:
22
std::string m_msg;
23
};
24
29
class
IOLINK_API
InvalidArgument
final :
public
Error
30
{
31
public
:
32
explicit
InvalidArgument
(
const
std::string& msg);
33
};
34
40
class
IOLINK_API
NotImplemented
final :
public
Error
41
{
42
public
:
43
explicit
NotImplemented
(
const
std::string&
function
);
44
};
45
46
}
// end namespace iolink
iolink
All IOLink symbols are enclosed in this namespace.
Definition:
ArrayX.h:7
iolink::InvalidArgument
'Invalid argument' error raised when an argument is not the one expected in a public method.
Definition:
Error.h:29
iolink::NotImplemented
'Not implemented' error raised when a 'not available' method is called.
Definition:
Error.h:40
iolink::Error
Error base class.
Definition:
Error.h:12
iolink
public
include
iolink
Error.h
Generated on Thu Sep 7 2023 08:17:19 for IOLink by
1.8.17