.. _program_listing_file_BackendLibfabric_Issues.hpp: Program Listing for File Issues.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``BackendLibfabric/Issues.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef NETIO3BACKEND_BACKENDLIBFABRIC_ISSUES_HPP #define NETIO3BACKEND_BACKENDLIBFABRIC_ISSUES_HPP #include #include namespace netio3 { ERS_DECLARE_ISSUE(libfabric, LibFabricError, message, ((const std::string&)message)) ERS_DECLARE_ISSUE(libfabric, LibFabricLogicError, std::format("Internal logic error: {}", message), ((const std::string&)message)) ERS_DECLARE_ISSUE(libfabric, LibFabricCmError, std::format("CM error: {}", message), ((const std::string&)message)) ERS_DECLARE_ISSUE(libfabric, LibFabricCqError, std::format("CQ error: {}", message), ((const std::string&)message)) ERS_DECLARE_ISSUE(libfabric, LibFabricBufferError, std::format("Error using buffers: {}", message), ((const std::string&)message)) ERS_DECLARE_ISSUE(libfabric, LibfabricDomainError, std::format("Failed to create fabric/domain because: {}", message), ((const std::string&)message)) ERS_DECLARE_ISSUE( libfabric, TooManyBuffersRequested, std::format("Number of buffers above maximum alowed: {0} vs {1}. Using {1} buffers.", num_requested, num_allowed), ((std::size_t)num_requested)((std::size_t)num_allowed)) } // namespace netio3 #endif // NETIO3BACKEND_BACKENDLIBFABRIC_ISSUES_HPP