PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
errors.h File Reference

Typed error codes for IHE XDS.b actors (ITI-41 and siblings) More...

#include <string_view>
Include dependency graph for errors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::ihe
 
namespace  kcenon::pacs::ihe::xds
 

Enumerations

enum class  kcenon::pacs::ihe::xds::error_code : int {
  kcenon::pacs::ihe::xds::metadata_missing_patient_id = 50 , kcenon::pacs::ihe::xds::metadata_missing_source_id = 51 , kcenon::pacs::ihe::xds::metadata_missing_submission_set_uid = 52 , kcenon::pacs::ihe::xds::metadata_no_documents = 53 ,
  kcenon::pacs::ihe::xds::metadata_document_empty = 54 , kcenon::pacs::ihe::xds::metadata_document_missing_unique_id = 55 , kcenon::pacs::ihe::xds::metadata_document_missing_mime_type = 56 , kcenon::pacs::ihe::xds::envelope_build_failed = 60 ,
  kcenon::pacs::ihe::xds::envelope_serialization_failed = 61 , kcenon::pacs::ihe::xds::signer_invalid_certificate = 70 , kcenon::pacs::ihe::xds::signer_invalid_private_key = 71 , kcenon::pacs::ihe::xds::signer_digest_failed = 72 ,
  kcenon::pacs::ihe::xds::signer_sign_failed = 73 , kcenon::pacs::ihe::xds::signer_openssl_unavailable = 74 , kcenon::pacs::ihe::xds::mtom_empty_payload = 80 , kcenon::pacs::ihe::xds::mtom_boundary_generation_failed = 81 ,
  kcenon::pacs::ihe::xds::transport_init_failed = 90 , kcenon::pacs::ihe::xds::transport_not_configured = 91 , kcenon::pacs::ihe::xds::transport_curl_failed = 92 , kcenon::pacs::ihe::xds::transport_tls_error = 93 ,
  kcenon::pacs::ihe::xds::transport_http_error = 94 , kcenon::pacs::ihe::xds::transport_timeout = 95 , kcenon::pacs::ihe::xds::transport_invalid_response = 96 , kcenon::pacs::ihe::xds::transport_response_too_large = 97 ,
  kcenon::pacs::ihe::xds::registry_failure_response = 100 , kcenon::pacs::ihe::xds::registry_partial_success = 101 , kcenon::pacs::ihe::xds::consumer_retrieve_missing_document_id = 110 , kcenon::pacs::ihe::xds::consumer_retrieve_missing_repository_id = 111 ,
  kcenon::pacs::ihe::xds::consumer_response_missing_mtom_root = 112 , kcenon::pacs::ihe::xds::consumer_response_mtom_malformed = 113 , kcenon::pacs::ihe::xds::consumer_response_document_not_found = 114 , kcenon::pacs::ihe::xds::consumer_signature_verification_failed = 115 ,
  kcenon::pacs::ihe::xds::consumer_signature_missing = 116 , kcenon::pacs::ihe::xds::registry_query_missing_patient_id = 120 , kcenon::pacs::ihe::xds::registry_query_missing_document_uuid = 121 , kcenon::pacs::ihe::xds::registry_query_empty_uuid_list = 122 ,
  kcenon::pacs::ihe::xds::registry_query_invalid_patient_id = 123 , kcenon::pacs::ihe::xds::registry_query_response_malformed = 124 , kcenon::pacs::ihe::xds::registry_query_signature_verification_failed = 125 , kcenon::pacs::ihe::xds::registry_query_signature_missing = 126
}
 Stable numeric error codes for XDS.b actor failures. More...
 

Variables

constexpr std::string_view kcenon::pacs::ihe::xds::error_source = "ihe.xds"
 Short identifier used as the "source" field of make_error.
 

Detailed Description

Typed error codes for IHE XDS.b actors (ITI-41 and siblings)

Every public API in kcenon::pacs::ihe::xds returns kcenon::common::Result<T>. Error codes here are the numeric tag passed to make_error so callers can branch on failure class without parsing strings.

See also
Issue #1128 - IHE XDS.b Document Source (ITI-41)

Definition in file errors.h.