Static helpers implementing the Expected continuation operations.

Synopsis

Declared in <folly/Expected.h>

struct ExpectedHelper;

Static Member Functions

Name

Description

assume_empty

Asserts that an Expected is in the empty state.

onError_

Invokes onError when the Expected holds an error, then returns it.

orElse_

orElse_ overloads

return_

return_ overloads

thenOrThrow_

thenOrThrow_ overloads

then_

then_ overloads

Created with MrDocs