IOFormat  IOF_v1.3.1_release
Error.h
1 #pragma once
2 
3 #include <iolink/Error.h>
4 
5 namespace ioformat
6 {
7 
14 class UnsupportedFormat final : public iolink::Error
15 {
16 
17 public:
18  explicit UnsupportedFormat(const char* msg)
19  : iolink::Error(msg)
20  {
21  }
22 };
23 
31 class UnsupportedOperation final : public iolink::Error
32 {
33 
34 public:
35  explicit UnsupportedOperation(const char* msg)
36  : iolink::Error(msg)
37  {
38  }
39 };
40 
44 class EncodingError final : public iolink::Error
45 {
46 public:
47  explicit EncodingError(const char* msg)
48  : iolink::Error(msg)
49  {
50  }
51 };
52 
56 class DecodingError final : public iolink::Error
57 {
58 public:
59  explicit DecodingError(const char* msg)
60  : iolink::Error(msg)
61  {
62  }
63 };
64 
65 } // namespace ioformat
ioformat::UnsupportedFormat
Definition: Error.h:14
ioformat::EncodingError
Definition: Error.h:44
ioformat
Global namespace which contains all methods to encode/decode data from/into different resources (file...
Definition: Error.h:5
ioformat::UnsupportedOperation
Definition: Error.h:31
ioformat::DecodingError
Definition: Error.h:56