UCILoader 1.1.2
Small C++ library that allows user to connect to a chess engines via UCI protocol.
Loading...
Searching...
No Matches
UCILoader::PipeClosedException Class Reference

Exception thrown when a pipe operation fails due to pipe closure. More...

#include <AbstractPipe.h>

Inherits std::exception.

Public Member Functions

const char * what () const noexcept override
 Get the exception message.
 

Detailed Description

Exception thrown when a pipe operation fails due to pipe closure.

This exception indicates that an I/O operation on a pipe cannot be completed because the underlying pipe has been closed. This can occur:

  • Before the operation is initiated (pipe already closed)
  • During the operation (pipe closed by peer or internal error)
  • When the process crashes or exits abruptly

Once this exception is thrown, the pipe should be considered invalid and unusable for further operations.

Member Function Documentation

◆ what()

const char * UCILoader::PipeClosedException::what ( ) const
inlineoverridenoexcept

Get the exception message.

Returns
C-string describing the pipe closure error

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