LCI v2.0.0-dev
For Asynchronous Multithreaded Communication
Loading...
Searching...
No Matches
lci::peer_failure_error Class Reference

An asynchronous transport error associated with a peer rank. More...

#include <lci.hpp>

Inheritance diagram for lci::peer_failure_error:
[legend]
Collaboration diagram for lci::peer_failure_error:
[legend]

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ peer_failure_error()

lci::peer_failure_error::peer_failure_error ( int failed_rank,
const std::string & message )
inline
Here is the call graph for this function:

Member Function Documentation

◆ failed_rank()

int lci::peer_failure_error::failed_rank ( ) const
inlinenoexcept

Get the rank of the peer associated with the failed operation.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: