PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
errors.h
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2021-2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
16#pragma once
17
18#include <string_view>
19
20namespace kcenon::pacs::ihe::xds {
21
29enum class error_code : int {
30 // --- input validation (50-59) ---
38
39 // --- envelope construction (60-69) ---
42
43 // --- WS-Security signing (70-79) ---
49
50 // --- MTOM packaging (80-89) ---
53
54 // --- transport (90-99) ---
63
64 // --- registry response (100-109) ---
67
68 // --- Consumer / ITI-43 (110-119) ---
76
77 // --- Registry Query / ITI-18 (120-129) ---
85};
86
95inline constexpr std::string_view error_source = "ihe.xds";
96
97} // namespace kcenon::pacs::ihe::xds
constexpr std::string_view error_source
Short identifier used as the "source" field of make_error.
Definition errors.h:95
error_code
Stable numeric error codes for XDS.b actor failures.
Definition errors.h:29