Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/3rdparty/libprocess
/ failedFuture
Function
failedFuture
src/tests/future_tests.cpp:428–431 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
426
427
428
static Future<bool> failedFuture()
429
{
430
return Failure(
"The value is not positive (or zero)"
);
431
}
432
433
434
static Future<bool> pendingFuture(const Future<bool>& future)
Callers
1
TEST
Function · 0.85
Calls
1
Failure
Class · 0.85
Tested by
no test coverage detected