MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
Exception.hpp File Reference
#include <exception>
#include <string>
#include <fmt/format.h>
#include <rdma/fi_errno.h>
#include <mxl/mxl.h>
#include "mxl-internal/Logging.hpp"
Include dependency graph for Exception.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mxl::lib::fabrics::ofi::Exception
 Custom exception type used in the fabrics library. More...
class  mxl::lib::fabrics::ofi::FabricException
 An internal exception type that extends. More...

Namespaces

namespace  mxl
namespace  mxl::lib
namespace  mxl::lib::fabrics
namespace  mxl::lib::fabrics::ofi

Functions

template<typename F>
void mxl::lib::fabrics::ofi::catchAndLogFabricError (F &&fun, std::string_view msg)
template<typename F, typename... T>
int mxl::lib::fabrics::ofi::fiCall (F &&fun, std::string_view msg, T &&... args)
 Call a libfabric function and check its return code.
mxlStatus mxl::lib::fabrics::ofi::mxlStatusFromFiErrno (int fiErrno)
 Convert an error code returned by libfabric to an appropriate mxlStatus code.