folly::OptionalEmptyException

Exception thrown when unwrapping the value of an empty Optional.

Synopsis

Declared in <folly/Optional.h>

class OptionalEmptyException
    : public std::runtime_error

Base Classes

NameDescription
std::runtime_error

Member Functions

NameDescription
OptionalEmptyException [constructor]Constructs the exception with a fixed message.
operator=
what [virtual]