util::Result::Result

Constructs a failed result holding the given error message.

Synopsis

Declared in <util/result.h>

Result(Error error);

Parameters

NameDescription
errorthe error carrier whose message is moved into the result