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

Method TrySetException

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

Source from the content-addressed store, hash-verified

858
859 template <typename T>
860 inline bool TPromise<T>::TrySetException(std::exception_ptr e) {
861 EnsureInitialized();
862 return State->TrySetException(std::move(e));
863 }
864
865 template <typename T>
866 inline TFuture<T> TPromise<T>::GetFuture() const {

Callers 5

Y_UNIT_TESTFunction · 0.45
unhandled_exceptionMethod · 0.45
unhandled_exceptionMethod · 0.45
return_valueMethod · 0.45
SetValueFunction · 0.45

Calls 2

EnsureInitializedFunction · 0.85
moveFunction · 0.50

Tested by

no test coverage detected