Remove EmptySequence exception in favor of optional returns
authorTom Jackson <tjackson@fb.com>
Mon, 20 Jul 2015 21:05:59 +0000 (14:05 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Tue, 21 Jul 2015 23:52:35 +0000 (16:52 -0700)
commit3c26e2a31438f52c8a665e3931f71d929c966216
treedd4ec69e5a7cac9c1e57155c385671104e2eac89
parent8973b3114d1f74fcf1e54d3fe373f74ec19e1975
Remove EmptySequence exception in favor of optional returns

Summary: Forces consumers to handle the empty sequence case instead of cumbersome exceptions.

Reviewed By: @​jrichey, @yfeldblum

Differential Revision: D2219505
folly/gen/Base-inl.h
folly/gen/Base.h
folly/gen/test/BaseTest.cpp