createStringErrorV overloads

Synopses

Declared in <llvm/Support/ErrorExtras.h>

Create a StringError with an inconvertible error code and formatv‐style Fmt.

template<typename... Ts>
Error
createStringErrorV(
    char const* Fmt,
    Ts&&... Vals);

Create a StringError from error code EC and formatv‐style Fmt.

template<typename... Ts>
Error
createStringErrorV(
    std::error_code EC,
    char const* Fmt,
    Ts&&... Vals);

Return Value

  • A StringError with an inconvertible error code and the formatv‐formatted message.

  • A StringError with code EC and the formatv‐formatted message.

Parameters

Name

Description

Fmt

Formatv‐style format string for the message.

Vals

Format arguments for Fmt.

EC

Error code stored in the StringError.

Created with MrDocs