throwSystemErrorExplicit overloads

Synopses

Declared in <folly/Exception.h>

Throws a std::system_error built from an explicit error number and message.

[[noreturn]]
void
throwSystemErrorExplicit(
    int err,
    char const* msg);

Throws a std::system_error built from an explicit error number and message components.

template<class... Args>
[[noreturn]]
void
throwSystemErrorExplicit(
    int err,
    Args&&... args);

Return Value

Note

This function does not return.

Parameters

Name

Description

err

The error number to report.

msg

The description of the failure.

args

Components concatenated into the failure message.

Created with MrDocs