AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::TimeoutException Class Reference

Timeout exception. More...

#include <resourcePool.hpp>

Inheritance diagram for anch::TimeoutException:
Collaboration diagram for anch::TimeoutException:

Public Member Functions

 TimeoutException (const std::chrono::milliseconds &timeout, std::string msg) noexcept
const char * what () const noexcept override
const std::chrono::milliseconds & getTimeout () const noexcept

Detailed Description

Timeout exception.

Timeout error

Author
Vincent Lachenal
Since
0.1

Constructor & Destructor Documentation

◆ TimeoutException()

anch::TimeoutException::TimeoutException ( const std::chrono::milliseconds & timeout,
std::string msg )
inlinenoexcept

TimeoutException constructor

Parameters
timeoutthe timeout
msgthe error message

Member Function Documentation

◆ getTimeout()

const std::chrono::milliseconds & anch::TimeoutException::getTimeout ( ) const
inlinenoexcept

Timeout getter

Returns
the timeout

◆ what()

const char * anch::TimeoutException::what ( ) const
inlineoverridenoexcept

Error message getter

Returns
the error message

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