If cond is not true, raise an exception of type E. E must have a ctor that works with const char* (a description of the failure).
Synopsis
Declared in <folly/Exception.h>
#define CHECK_THROW(cond, E)
Parameters
Name |
Description |
cond |
The condition that must hold; an exception is thrown when it is false. |
E |
The exception type to throw, constructible from a |
Created with MrDocs