MCPcopy Create free account
hub / github.com/catboost/catboost / SetException

Method SetException

library/cpp/threading/future/core/future-inl.h:848–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846
847 template <typename T>
848 inline void TPromise<T>::SetException(const TString& e) {
849 EnsureInitialized();
850 State->SetException(std::make_exception_ptr(yexception() << e));
851 }
852
853 template <typename T>
854 inline void TPromise<T>::SetException(std::exception_ptr e) {

Callers 7

Y_UNIT_TESTFunction · 0.45
RunWaitTestFunction · 0.45
CancelMethod · 0.45
SetValueImplFunction · 0.45
SetValueFunction · 0.45
ReturnMethod · 0.45
PublishMethod · 0.45

Calls 4

EnsureInitializedFunction · 0.85
yexceptionClass · 0.85
make_exception_ptrFunction · 0.50
moveFunction · 0.50

Tested by

no test coverage detected