Go to the source code of this file.
|
static std::string | mk_error_text (const char *op, const char *what, const std::string &name, const OksObject *o, const char *error) |
|
static std::string | mk_get_error_text (const char *what, const std::string &name, const OksObject *o, const char *error=nullptr) |
|
static std::string | mk_set_error_text (const char *what, const std::string &name, const OksObject *o, const char *error=nullptr) |
|
◆ mk_error_text()
static std::string mk_error_text |
( |
const char * | op, |
|
|
const char * | what, |
|
|
const std::string & | name, |
|
|
const OksObject * | o, |
|
|
const char * | error ) |
|
static |
Definition at line 18 of file OksConfigObject.cpp.
19{
20 std::ostringstream text;
21 text << "failed to " << op << ' ' << what << " \"" << name << "\" of object " << o;
23 text <<
": " <<
error;
24 return text.str();
25}
Factory couldn t std::string alg_name Invalid configuration error
◆ mk_get_error_text()
static std::string mk_get_error_text |
( |
const char * | what, |
|
|
const std::string & | name, |
|
|
const OksObject * | o, |
|
|
const char * | error = nullptr ) |
|
static |
Definition at line 28 of file OksConfigObject.cpp.
29{
31}
static std::string mk_error_text(const char *op, const char *what, const std::string &name, const OksObject *o, const char *error)
◆ mk_set_error_text()
static std::string mk_set_error_text |
( |
const char * | what, |
|
|
const std::string & | name, |
|
|
const OksObject * | o, |
|
|
const char * | error = nullptr ) |
|
static |