DF-0
DF-0: Data processing Framework with Zero-overhead
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
16namespace df0::errors
17{
18
38{
39 static constexpr std::string_view string() { return "program logic error tag"; }
40};
41
62{
63 static constexpr std::string_view string() { return "program corrupted error tag"; }
64};
65
86{
87 static constexpr std::string_view string() { return "uninterpretable data error tag"; }
88};
89
110{
111 static constexpr std::string_view string() { return "network failure error tag"; }
112};
113
132{
133 static constexpr std::string_view string() { return "file encrypted error tag"; }
134};
135
136} // namespace df0::errors
137
138#endif
Provides features for reporting and handling errors with context data using nested exceptions.
File is encrypted error tag.
Definition error_tags.h:132
Network failure error tag.
Definition error_tags.h:110
Program corrupted error tag.
Definition error_tags.h:62
Program logic failure error tag.
Definition error_tags.h:38
Uninterpretable data error tag.
Definition error_tags.h:86