PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::error_codes Namespace Reference

Variables

constexpr int pacs_base = -700
 
constexpr int file_not_found = pacs_base - 0
 
constexpr int file_read_error = pacs_base - 1
 
constexpr int file_write_error = pacs_base - 2
 
constexpr int invalid_dicom_file = pacs_base - 3
 
constexpr int missing_dicm_prefix = pacs_base - 4
 
constexpr int invalid_meta_info = pacs_base - 5
 
constexpr int missing_transfer_syntax = pacs_base - 6
 
constexpr int unsupported_transfer_syntax = pacs_base - 7
 
constexpr int element_not_found = pacs_base - 20
 
constexpr int value_conversion_error = pacs_base - 21
 
constexpr int invalid_vr = pacs_base - 22
 
constexpr int invalid_tag = pacs_base - 23
 
constexpr int data_size_mismatch = pacs_base - 24
 
constexpr int decode_error = pacs_base - 40
 
constexpr int encode_error = pacs_base - 41
 
constexpr int compression_error = pacs_base - 42
 
constexpr int decompression_error = pacs_base - 43
 
constexpr int invalid_tag_encoding = pacs_base - 44
 
constexpr int invalid_length_encoding = pacs_base - 45
 
constexpr int insufficient_data = pacs_base - 46
 
constexpr int invalid_sequence = pacs_base - 47
 
constexpr int unknown_vr = pacs_base - 48
 
constexpr int codec_not_supported = pacs_base - 49
 
constexpr int association_rejected = pacs_base - 60
 
constexpr int association_aborted = pacs_base - 61
 
constexpr int dimse_error = pacs_base - 62
 
constexpr int pdu_error = pacs_base - 63
 
constexpr int connection_failed = pacs_base - 64
 
constexpr int connection_timeout = pacs_base - 65
 
constexpr int send_failed = pacs_base - 66
 
constexpr int receive_failed = pacs_base - 67
 
constexpr int receive_timeout = pacs_base - 68
 
constexpr int invalid_association_state = pacs_base - 70
 
constexpr int negotiation_failed = pacs_base - 71
 
constexpr int no_acceptable_context = pacs_base - 72
 
constexpr int release_failed = pacs_base - 73
 
constexpr int already_released = pacs_base - 74
 
constexpr int pdu_encoding_error = pacs_base - 75
 
constexpr int pdu_decoding_error = pacs_base - 76
 
constexpr int incomplete_pdu = pacs_base - 77
 
constexpr int invalid_pdu_type = pacs_base - 78
 
constexpr int malformed_pdu = pacs_base - 79
 
constexpr int storage_failed = pacs_base - 80
 
constexpr int retrieve_failed = pacs_base - 81
 
constexpr int query_failed = pacs_base - 82
 
constexpr int database_open_error = pacs_base - 83
 
constexpr int database_connection_error = pacs_base - 84
 
constexpr int database_query_error = pacs_base - 85
 
constexpr int database_transaction_error = pacs_base - 86
 
constexpr int database_migration_error = pacs_base - 87
 
constexpr int database_integrity_error = pacs_base - 88
 
constexpr int bucket_not_found = pacs_base - 90
 
constexpr int object_not_found = pacs_base - 91
 
constexpr int upload_error = pacs_base - 92
 
constexpr int download_error = pacs_base - 93
 
constexpr int cloud_connection_error = pacs_base - 94
 
constexpr int tier_not_available = pacs_base - 96
 
constexpr int migration_failed = pacs_base - 97
 
constexpr int instance_not_found = pacs_base - 98
 
constexpr int service_base = -800
 
constexpr int store_handler_not_set = service_base - 0
 
constexpr int store_missing_sop_class_uid = service_base - 1
 
constexpr int store_missing_sop_instance_uid = service_base - 2
 
constexpr int store_no_accepted_context = service_base - 3
 
constexpr int store_pre_validation_failed = service_base - 4
 
constexpr int store_dataset_required = service_base - 5
 
constexpr int store_unexpected_command = service_base - 6
 
constexpr int find_handler_not_set = service_base - 20
 
constexpr int find_invalid_query_level = service_base - 21
 
constexpr int find_missing_query_level = service_base - 22
 
constexpr int find_unexpected_command = service_base - 23
 
constexpr int find_query_cancelled = service_base - 24
 
constexpr int retrieve_handler_not_set = service_base - 40
 
constexpr int retrieve_missing_destination = service_base - 41
 
constexpr int retrieve_unknown_destination = service_base - 42
 
constexpr int retrieve_sub_operation_failed = service_base - 43
 
constexpr int retrieve_unexpected_command = service_base - 44
 
constexpr int retrieve_cancelled = service_base - 45
 
constexpr int echo_unexpected_command = service_base - 60
 
constexpr int mpps_handler_not_set = service_base - 70
 
constexpr int mpps_invalid_state = service_base - 71
 
constexpr int mpps_unexpected_command = service_base - 72
 
constexpr int mpps_context_not_accepted = service_base - 73
 
constexpr int mpps_missing_uid = service_base - 74
 
constexpr int mpps_invalid_status_transition = service_base - 75
 
constexpr int storage_commitment_unexpected_command = service_base - 76
 
constexpr int storage_commitment_invalid_sop_class = service_base - 77
 
constexpr int storage_commitment_missing_transaction_uid = service_base - 78
 
constexpr int storage_commitment_missing_sequence = service_base - 79
 
constexpr int worklist_handler_not_set = service_base - 80
 
constexpr int worklist_unexpected_command = service_base - 81
 
constexpr int n_get_handler_not_set = service_base - 82
 
constexpr int n_get_unexpected_command = service_base - 83
 
constexpr int n_get_instance_not_found = service_base - 84
 
constexpr int n_get_context_not_accepted = service_base - 85
 
constexpr int n_get_missing_uid = service_base - 86
 
constexpr int print_handler_not_set = service_base - 87
 
constexpr int print_unexpected_command = service_base - 88
 
constexpr int print_invalid_sop_class = service_base - 89
 
constexpr int association_not_established = service_base - 90
 
constexpr int file_not_found_service = service_base - 91
 
constexpr int not_a_regular_file = service_base - 92
 
constexpr int file_parsing_not_implemented = service_base - 93
 
constexpr int file_parse_failed = service_base - 94
 
constexpr int ups_handler_not_set = service_base - 95
 
constexpr int ups_unexpected_command = service_base - 96
 
constexpr int ups_invalid_state_transition = service_base - 97
 
constexpr int ups_missing_uid = service_base - 98
 
constexpr int ups_workitem_not_found = service_base - 99
 
constexpr int ups_invalid_action_type = service_base - 100
 
constexpr int ups_missing_transaction_uid = service_base - 101
 
constexpr int ups_context_not_accepted = service_base - 102
 

Variable Documentation

◆ already_released

int kcenon::pacs::error_codes::already_released = pacs_base - 74
constexpr

Definition at line 105 of file result.h.

◆ association_aborted

int kcenon::pacs::error_codes::association_aborted = pacs_base - 61
constexpr

Definition at line 89 of file result.h.

◆ association_not_established

◆ association_rejected

int kcenon::pacs::error_codes::association_rejected = pacs_base - 60
constexpr

Definition at line 88 of file result.h.

◆ bucket_not_found

int kcenon::pacs::error_codes::bucket_not_found = pacs_base - 90
constexpr

Definition at line 128 of file result.h.

◆ cloud_connection_error

int kcenon::pacs::error_codes::cloud_connection_error = pacs_base - 94
constexpr

Definition at line 132 of file result.h.

◆ codec_not_supported

int kcenon::pacs::error_codes::codec_not_supported = pacs_base - 49
constexpr

Definition at line 85 of file result.h.

◆ compression_error

◆ connection_failed

◆ connection_timeout

int kcenon::pacs::error_codes::connection_timeout = pacs_base - 65
constexpr

◆ data_size_mismatch

◆ database_connection_error

int kcenon::pacs::error_codes::database_connection_error = pacs_base - 84
constexpr

◆ database_integrity_error

int kcenon::pacs::error_codes::database_integrity_error = pacs_base - 88
constexpr

Definition at line 125 of file result.h.

◆ database_migration_error

int kcenon::pacs::error_codes::database_migration_error = pacs_base - 87
constexpr

Definition at line 124 of file result.h.

◆ database_open_error

int kcenon::pacs::error_codes::database_open_error = pacs_base - 83
constexpr

Definition at line 120 of file result.h.

◆ database_query_error

◆ database_transaction_error

int kcenon::pacs::error_codes::database_transaction_error = pacs_base - 86
constexpr

Definition at line 123 of file result.h.

◆ decode_error

int kcenon::pacs::error_codes::decode_error = pacs_base - 40
constexpr

Definition at line 76 of file result.h.

Referenced by kcenon::pacs::core::dicom_file::parse_meta_information().

◆ decompression_error

◆ dimse_error

int kcenon::pacs::error_codes::dimse_error = pacs_base - 62
constexpr

◆ download_error

int kcenon::pacs::error_codes::download_error = pacs_base - 93
constexpr

Definition at line 131 of file result.h.

◆ echo_unexpected_command

int kcenon::pacs::error_codes::echo_unexpected_command = service_base - 60
constexpr

Definition at line 169 of file result.h.

Referenced by kcenon::pacs::services::verification_scp::handle_message().

◆ element_not_found

int kcenon::pacs::error_codes::element_not_found = pacs_base - 20
constexpr

Definition at line 69 of file result.h.

◆ encode_error

int kcenon::pacs::error_codes::encode_error = pacs_base - 41
constexpr

Definition at line 77 of file result.h.

◆ file_not_found

int kcenon::pacs::error_codes::file_not_found = pacs_base - 0
constexpr

Definition at line 59 of file result.h.

Referenced by kcenon::pacs::core::memory_mapped_file::open().

◆ file_not_found_service

int kcenon::pacs::error_codes::file_not_found_service = service_base - 91
constexpr

Definition at line 203 of file result.h.

Referenced by kcenon::pacs::services::storage_scu::store_file().

◆ file_parse_failed

int kcenon::pacs::error_codes::file_parse_failed = service_base - 94
constexpr

Definition at line 206 of file result.h.

Referenced by kcenon::pacs::services::storage_scu::store_file().

◆ file_parsing_not_implemented

int kcenon::pacs::error_codes::file_parsing_not_implemented = service_base - 93
constexpr

Definition at line 205 of file result.h.

◆ file_read_error

int kcenon::pacs::error_codes::file_read_error = pacs_base - 1
constexpr

Definition at line 60 of file result.h.

Referenced by kcenon::pacs::core::memory_mapped_file::open().

◆ file_write_error

int kcenon::pacs::error_codes::file_write_error = pacs_base - 2
constexpr

Definition at line 61 of file result.h.

Referenced by kcenon::pacs::core::dicom_file::save().

◆ find_handler_not_set

int kcenon::pacs::error_codes::find_handler_not_set = service_base - 20
constexpr

Definition at line 154 of file result.h.

Referenced by kcenon::pacs::services::query_scp::handle_message().

◆ find_invalid_query_level

int kcenon::pacs::error_codes::find_invalid_query_level = service_base - 21
constexpr

Definition at line 155 of file result.h.

◆ find_missing_query_level

int kcenon::pacs::error_codes::find_missing_query_level = service_base - 22
constexpr

Definition at line 156 of file result.h.

◆ find_query_cancelled

int kcenon::pacs::error_codes::find_query_cancelled = service_base - 24
constexpr

Definition at line 158 of file result.h.

◆ find_unexpected_command

◆ incomplete_pdu

int kcenon::pacs::error_codes::incomplete_pdu = pacs_base - 77
constexpr

◆ instance_not_found

int kcenon::pacs::error_codes::instance_not_found = pacs_base - 98
constexpr

Definition at line 137 of file result.h.

◆ insufficient_data

◆ invalid_association_state

int kcenon::pacs::error_codes::invalid_association_state = pacs_base - 70
constexpr

◆ invalid_dicom_file

int kcenon::pacs::error_codes::invalid_dicom_file = pacs_base - 3
constexpr

◆ invalid_length_encoding

int kcenon::pacs::error_codes::invalid_length_encoding = pacs_base - 45
constexpr

Definition at line 81 of file result.h.

◆ invalid_meta_info

int kcenon::pacs::error_codes::invalid_meta_info = pacs_base - 5
constexpr

Definition at line 64 of file result.h.

◆ invalid_pdu_type

int kcenon::pacs::error_codes::invalid_pdu_type = pacs_base - 78
constexpr

Definition at line 111 of file result.h.

◆ invalid_sequence

◆ invalid_tag

int kcenon::pacs::error_codes::invalid_tag = pacs_base - 23
constexpr

Definition at line 72 of file result.h.

◆ invalid_tag_encoding

int kcenon::pacs::error_codes::invalid_tag_encoding = pacs_base - 44
constexpr

Definition at line 80 of file result.h.

◆ invalid_vr

int kcenon::pacs::error_codes::invalid_vr = pacs_base - 22
constexpr

Definition at line 71 of file result.h.

◆ malformed_pdu

int kcenon::pacs::error_codes::malformed_pdu = pacs_base - 79
constexpr

Definition at line 112 of file result.h.

◆ migration_failed

int kcenon::pacs::error_codes::migration_failed = pacs_base - 97
constexpr

Definition at line 136 of file result.h.

◆ missing_dicm_prefix

int kcenon::pacs::error_codes::missing_dicm_prefix = pacs_base - 4
constexpr

Definition at line 63 of file result.h.

Referenced by kcenon::pacs::core::dicom_file::from_bytes().

◆ missing_transfer_syntax

int kcenon::pacs::error_codes::missing_transfer_syntax = pacs_base - 6
constexpr

Definition at line 65 of file result.h.

Referenced by kcenon::pacs::core::dicom_file::from_bytes().

◆ mpps_context_not_accepted

int kcenon::pacs::error_codes::mpps_context_not_accepted = service_base - 73
constexpr

◆ mpps_handler_not_set

int kcenon::pacs::error_codes::mpps_handler_not_set = service_base - 70
constexpr

◆ mpps_invalid_state

int kcenon::pacs::error_codes::mpps_invalid_state = service_base - 71
constexpr
Examples
mpps_scp/main.cpp.

Definition at line 173 of file result.h.

◆ mpps_invalid_status_transition

int kcenon::pacs::error_codes::mpps_invalid_status_transition = service_base - 75
constexpr

Definition at line 177 of file result.h.

Referenced by kcenon::pacs::services::mpps_scu::set().

◆ mpps_missing_uid

int kcenon::pacs::error_codes::mpps_missing_uid = service_base - 74
constexpr

◆ mpps_unexpected_command

int kcenon::pacs::error_codes::mpps_unexpected_command = service_base - 72
constexpr

◆ n_get_context_not_accepted

int kcenon::pacs::error_codes::n_get_context_not_accepted = service_base - 85
constexpr

Definition at line 193 of file result.h.

Referenced by kcenon::pacs::services::n_get_scu::get().

◆ n_get_handler_not_set

int kcenon::pacs::error_codes::n_get_handler_not_set = service_base - 82
constexpr

Definition at line 190 of file result.h.

Referenced by kcenon::pacs::services::n_get_scp::handle_message().

◆ n_get_instance_not_found

int kcenon::pacs::error_codes::n_get_instance_not_found = service_base - 84
constexpr

Definition at line 192 of file result.h.

◆ n_get_missing_uid

int kcenon::pacs::error_codes::n_get_missing_uid = service_base - 86
constexpr

Definition at line 194 of file result.h.

Referenced by kcenon::pacs::services::n_get_scu::get().

◆ n_get_unexpected_command

int kcenon::pacs::error_codes::n_get_unexpected_command = service_base - 83
constexpr

◆ negotiation_failed

int kcenon::pacs::error_codes::negotiation_failed = pacs_base - 71
constexpr

Definition at line 102 of file result.h.

◆ no_acceptable_context

◆ not_a_regular_file

int kcenon::pacs::error_codes::not_a_regular_file = service_base - 92
constexpr

Definition at line 204 of file result.h.

Referenced by kcenon::pacs::services::storage_scu::store_file().

◆ object_not_found

int kcenon::pacs::error_codes::object_not_found = pacs_base - 91
constexpr

Definition at line 129 of file result.h.

◆ pacs_base

int kcenon::pacs::error_codes::pacs_base = -700
constexpr

Definition at line 56 of file result.h.

◆ pdu_decoding_error

int kcenon::pacs::error_codes::pdu_decoding_error = pacs_base - 76
constexpr

Definition at line 109 of file result.h.

◆ pdu_encoding_error

int kcenon::pacs::error_codes::pdu_encoding_error = pacs_base - 75
constexpr

Definition at line 108 of file result.h.

◆ pdu_error

int kcenon::pacs::error_codes::pdu_error = pacs_base - 63
constexpr

Definition at line 91 of file result.h.

◆ print_handler_not_set

int kcenon::pacs::error_codes::print_handler_not_set = service_base - 87
constexpr

Definition at line 197 of file result.h.

◆ print_invalid_sop_class

◆ print_unexpected_command

◆ query_failed

int kcenon::pacs::error_codes::query_failed = pacs_base - 82
constexpr

Definition at line 117 of file result.h.

◆ receive_failed

int kcenon::pacs::error_codes::receive_failed = pacs_base - 67
constexpr

◆ receive_timeout

int kcenon::pacs::error_codes::receive_timeout = pacs_base - 68
constexpr

Definition at line 98 of file result.h.

◆ release_failed

int kcenon::pacs::error_codes::release_failed = pacs_base - 73
constexpr

Definition at line 104 of file result.h.

◆ retrieve_cancelled

int kcenon::pacs::error_codes::retrieve_cancelled = service_base - 45
constexpr

Definition at line 166 of file result.h.

◆ retrieve_failed

int kcenon::pacs::error_codes::retrieve_failed = pacs_base - 81
constexpr

Definition at line 116 of file result.h.

◆ retrieve_handler_not_set

int kcenon::pacs::error_codes::retrieve_handler_not_set = service_base - 40
constexpr

◆ retrieve_missing_destination

◆ retrieve_sub_operation_failed

int kcenon::pacs::error_codes::retrieve_sub_operation_failed = service_base - 43
constexpr

Definition at line 164 of file result.h.

◆ retrieve_unexpected_command

int kcenon::pacs::error_codes::retrieve_unexpected_command = service_base - 44
constexpr

◆ retrieve_unknown_destination

int kcenon::pacs::error_codes::retrieve_unknown_destination = service_base - 42
constexpr

Definition at line 163 of file result.h.

◆ send_failed

◆ service_base

int kcenon::pacs::error_codes::service_base = -800
constexpr

Definition at line 142 of file result.h.

◆ storage_commitment_invalid_sop_class

int kcenon::pacs::error_codes::storage_commitment_invalid_sop_class = service_base - 77
constexpr

Definition at line 181 of file result.h.

◆ storage_commitment_missing_sequence

int kcenon::pacs::error_codes::storage_commitment_missing_sequence = service_base - 79
constexpr

◆ storage_commitment_missing_transaction_uid

int kcenon::pacs::error_codes::storage_commitment_missing_transaction_uid = service_base - 78
constexpr

◆ storage_commitment_unexpected_command

int kcenon::pacs::error_codes::storage_commitment_unexpected_command = service_base - 76
constexpr

◆ storage_failed

int kcenon::pacs::error_codes::storage_failed = pacs_base - 80
constexpr

Definition at line 115 of file result.h.

◆ store_dataset_required

int kcenon::pacs::error_codes::store_dataset_required = service_base - 5
constexpr

Definition at line 150 of file result.h.

◆ store_handler_not_set

int kcenon::pacs::error_codes::store_handler_not_set = service_base - 0
constexpr

Definition at line 145 of file result.h.

◆ store_missing_sop_class_uid

int kcenon::pacs::error_codes::store_missing_sop_class_uid = service_base - 1
constexpr

Definition at line 146 of file result.h.

Referenced by kcenon::pacs::services::storage_scu::store_impl().

◆ store_missing_sop_instance_uid

int kcenon::pacs::error_codes::store_missing_sop_instance_uid = service_base - 2
constexpr

Definition at line 147 of file result.h.

Referenced by kcenon::pacs::services::storage_scu::store_impl().

◆ store_no_accepted_context

int kcenon::pacs::error_codes::store_no_accepted_context = service_base - 3
constexpr

Definition at line 148 of file result.h.

Referenced by kcenon::pacs::services::storage_scu::store_impl().

◆ store_pre_validation_failed

int kcenon::pacs::error_codes::store_pre_validation_failed = service_base - 4
constexpr

Definition at line 149 of file result.h.

◆ store_unexpected_command

int kcenon::pacs::error_codes::store_unexpected_command = service_base - 6
constexpr

◆ tier_not_available

int kcenon::pacs::error_codes::tier_not_available = pacs_base - 96
constexpr

Definition at line 135 of file result.h.

◆ unknown_vr

int kcenon::pacs::error_codes::unknown_vr = pacs_base - 48
constexpr

◆ unsupported_transfer_syntax

int kcenon::pacs::error_codes::unsupported_transfer_syntax = pacs_base - 7
constexpr

Definition at line 66 of file result.h.

Referenced by kcenon::pacs::core::dicom_file::from_bytes().

◆ upload_error

int kcenon::pacs::error_codes::upload_error = pacs_base - 92
constexpr

Definition at line 130 of file result.h.

◆ ups_context_not_accepted

◆ ups_handler_not_set

◆ ups_invalid_action_type

◆ ups_invalid_state_transition

int kcenon::pacs::error_codes::ups_invalid_state_transition = service_base - 97
constexpr

Definition at line 211 of file result.h.

◆ ups_missing_transaction_uid

int kcenon::pacs::error_codes::ups_missing_transaction_uid = service_base - 101
constexpr

Definition at line 215 of file result.h.

Referenced by kcenon::pacs::services::ups_push_scu::change_state().

◆ ups_missing_uid

◆ ups_unexpected_command

◆ ups_workitem_not_found

int kcenon::pacs::error_codes::ups_workitem_not_found = service_base - 99
constexpr

Definition at line 213 of file result.h.

◆ value_conversion_error

int kcenon::pacs::error_codes::value_conversion_error = pacs_base - 21
constexpr

Definition at line 70 of file result.h.

Referenced by kcenon::pacs::core::dicom_file::from_bytes().

◆ worklist_handler_not_set

int kcenon::pacs::error_codes::worklist_handler_not_set = service_base - 80
constexpr

Definition at line 186 of file result.h.

Referenced by kcenon::pacs::services::worklist_scp::handle_message().

◆ worklist_unexpected_command

int kcenon::pacs::error_codes::worklist_unexpected_command = service_base - 81
constexpr

Definition at line 187 of file result.h.

Referenced by kcenon::pacs::services::worklist_scp::handle_message().