• Yedidya Feldblum's avatar
    Move Thrower into exception_wrapper · 6e0964d9
    Yedidya Feldblum authored
    Summary:
    [Folly] Move `Thrower` into `exception_wrapper`.
    
    It is only used by `exception_wrapper`, so it might as well be a member type.
    
    Also, make it private. That means we need to tweak `try_and_catch`.
    
    Since we are tweaking `try_and_catch`, tweak all similar cases.
    
    Reviewed By: luciang
    
    Differential Revision: D4361815
    
    fbshipit-source-id: c5025894465a2c7760bd79dbbd272079fd34dd79
    6e0964d9
ExceptionWrapper.cpp 1.42 KB