WebCFace 2.9.0
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
PromiseError Struct Reference

Funcの実行結果の処理中に発生した例外 More...

#include <webcface/exception.h>

Inheritance diagram for PromiseError:
[legend]
Collaboration diagram for PromiseError:
[legend]

Public Member Functions

 PromiseError (const char *message)
 

Detailed Description

Funcの実行結果の処理中に発生した例外

Since
ver2.10
  • ver2.9までは std::runtime_error を投げていた
  • 実行結果として返されるエラーそのものはPromiseErrorではなくRejection

    Todo:
    std::future_error はlogic_errorを継承している。合わせるべきか?

Constructor & Destructor Documentation

◆ PromiseError()

PromiseError ( const char *  message)
explicit

The documentation for this struct was generated from the following files: