Constructs the exception from a description and extra context arguments.
Synopsis
Declared in <folly/FormatArg.h>
template<typename... A>
explicit
BadFormatArg(
ErrorStrTag unused,
StringPiece descr,
A const&... a);
Template Parameters
Name |
Description |
A |
The extra context argument types. |
Parameters
Name |
Description |
unused |
Tag selecting the error‐string overload. |
descr |
A description of the invalid argument. |
a |
Extra context values appended to the message. |
Created with MrDocs