libwreport 3.36
wreport::error_handles Class Reference

For functions working with handles, reports a problem with handling handles, such as impossibility to allocate a new one, or an invalid handle being passed to the function. More...

#include <error.h>

Inheritance diagram for wreport::error_handles:
wreport::errors::StringBase< WR_ERR_HANDLES > 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_HANDLES >
 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_HANDLES >
std::string msg
 error message returned by what()

Detailed Description

For functions working with handles, reports a problem with handling handles, such as impossibility to allocate a new one, or an invalid handle being passed to the function.


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