libdballe  9.11
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
dballe::cmdline::error_cmdline Struct Reference

Report an error with command line options. More...

#include <cmdline.h>

Inheritance diagram for dballe::cmdline::error_cmdline:

Public Member Functions

 error_cmdline (const std::string &msg)
 
const char * what () const noexcept override
 

Static Public Member Functions

static void throwf (const char *fmt,...) WREPORT_THROWF_ATTRS(1
 Throw the exception, building the message printf-style.
 

Public Attributes

std::string msg
 error message returned by what()
 

Detailed Description

Report an error with command line options.

Constructor & Destructor Documentation

◆ error_cmdline()

dballe::cmdline::error_cmdline::error_cmdline ( const std::string &  msg)
inline
Parameters
msgerror message

The documentation for this struct was generated from the following file: