libwreport 3.36
wreport::error_consistency Class Reference

Report an error when a consistency check failed. More...

#include <error.h>

Inheritance diagram for wreport::error_consistency:
wreport::errors::StringBase< WR_ERR_CONSISTENCY > wreport::error

Static Public Member Functions

static void throwf (const char *fmt,...) WREPORT_THROWF_ATTRS(1
 Throw the exception, building the message printf-style.
Static Public Member Functions inherited from wreport::error
static const char * strerror (ErrorCode code)
 String description for an error code.

Additional Inherited Members

Public Member Functions inherited from wreport::errors::StringBase< WR_ERR_CONSISTENCY >
 StringBase (const std::string &msg) noexcept
ErrorCode code () const noexcept override
 Exception-specific error code.
const char * what () const noexcept override
 Error message.
Data Fields inherited from wreport::errors::StringBase< WR_ERR_CONSISTENCY >
std::string msg
 error message returned by what()

Detailed Description

Report an error when a consistency check failed.


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