Checks a POSIX return code (0 on success, error number on error) and throws on error.
Declared in <folly/Exception.h>
template<class... Args>
void
checkPosixError(
int err,
Args&&... args);
| Name | Description |
|---|---|
| err | The POSIX return code to check. |
| args | Components concatenated into the failure message. |