|
PACS System 0.1.0
PACS DICOM system library
|
Result<T> type aliases and helpers for PACS system. More...
#include <kcenon/common/patterns/result.h>#include <kcenon/common/error/error_codes.h>
Go to the source code of this file.
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::pacs |
| namespace | error_codes |
| PACS-specific error codes. | |
| namespace | kcenon::pacs::error_codes |
Macros | |
| #define | PACS_RETURN_IF_ERROR(expr) |
| Return early if expression is an error (PACS version) | |
| #define | PACS_ASSIGN_OR_RETURN(decl, expr) |
| Assign value or return error (PACS version) | |
| #define | PACS_RETURN_ERROR_IF(condition, code, message) |
| Return PACS error if condition is true. | |
Typedefs | |
| template<typename T > | |
| using | kcenon::pacs::Result = kcenon::common::Result<T> |
| Result type alias for PACS operations. | |
| using | kcenon::pacs::error_info = kcenon::common::error_info |
| Error information type. | |
Functions | |
| template<typename T > | |
| Result< T > | kcenon::pacs::pacs_error (int code, const std::string &message, const std::string &details="") |
| Create a PACS error result with module context. | |
| VoidResult | kcenon::pacs::pacs_void_error (int code, const std::string &message, const std::string &details="") |
| Create a PACS void error result. | |
Result<T> type aliases and helpers for PACS system.
This file provides standardized Result<T> types and error handling utilities for the PACS system, integrating with common_system's Result pattern.
Definition in file result.h.
| #define PACS_ASSIGN_OR_RETURN | ( | decl, | |
| expr ) |
| #define PACS_RETURN_ERROR_IF | ( | condition, | |
| code, | |||
| message ) |