DF-0
DF-0: Data processing Framework with Zero-overhead
Toggle main menu visibility
Loading...
Searching...
No Matches
error_tags.h
1
/**************************************************************************/
2
/* */
3
/* DF-0: Data processing Framework with Zero-overhead */
4
/* */
5
/* Copyright (c) DF-0 Team https://github.com/df0-io/df0 */
6
/* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-DF0-Commercial */
7
/* */
8
/**************************************************************************/
9
10
#ifndef DF0_ERROR_TAGS_H
11
#define DF0_ERROR_TAGS_H
12
13
#include "core_export.h"
14
#include <string_view>
15
16
namespace
df0::errors
17
{
18
37
struct
program_logic
38
{
39
static
constexpr
std::string_view string() {
return
"program logic error tag"
; }
40
};
41
61
struct
program_corrupted
62
{
63
static
constexpr
std::string_view string() {
return
"program corrupted error tag"
; }
64
};
65
85
struct
uninterpretable_data
86
{
87
static
constexpr
std::string_view string() {
return
"uninterpretable data error tag"
; }
88
};
89
109
struct
network_failure
110
{
111
static
constexpr
std::string_view string() {
return
"network failure error tag"
; }
112
};
113
131
struct
file_encrypted
132
{
133
static
constexpr
std::string_view string() {
return
"file encrypted error tag"
; }
134
};
135
136
}
// namespace df0::errors
137
138
#endif
df0::errors
Provides features for reporting and handling errors with context data using nested exceptions.
Definition
contains_type.h:17
df0::errors::file_encrypted
File is encrypted error tag.
Definition
error_tags.h:132
df0::errors::network_failure
Network failure error tag.
Definition
error_tags.h:110
df0::errors::program_corrupted
Program corrupted error tag.
Definition
error_tags.h:62
df0::errors::program_logic
Program logic failure error tag.
Definition
error_tags.h:38
df0::errors::uninterpretable_data
Uninterpretable data error tag.
Definition
error_tags.h:86
error_tags.h
Generated by
1.18.0