|
LCI v2.0.0-dev
For Asynchronous Multithreaded Communication
|
An asynchronous transport error associated with a peer rank. More...
#include <lci.hpp>
Public Member Functions | |
| peer_failure_error (int failed_rank, const std::string &message) | |
| int | failed_rank () const noexcept |
| Get the rank of the peer associated with the failed operation. | |
An asynchronous transport error associated with a peer rank.
LCI throws this exception for supported asynchronous transport failures associated with a peer. Other asynchronous transport failures may instead report std::runtime_error without an identified peer. This exception derives from std::runtime_error, so existing handlers for that type continue to work.
|
inline |
|
inlinenoexcept |
Get the rank of the peer associated with the failed operation.