logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::future_error - Exception type thrown by futures.

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++                            std::future_error(3cxx)

Detailed Description

       Exception type thrown by futures.

       Since
           C++11

Member Function Documentation

virtualconstchar*std::future_error::what()const[virtual],[noexcept]
       Returns a C-style character string describing the general cause of the current error (the same string
       passed to the ctor).

       Reimplemented from std::logic_error.

Name

       std::future_error - Exception type thrown by futures.

Synopsis

       #include <future>

       Inherits std::logic_error.

   PublicMemberFunctionsfuture_error (future_errc__errc)
       const error_code & code () const noexcept
       virtual const char * what () const noexcept

   Friendsvoid__throw_future_error (int)

See Also