MCPcopy Create free account
hub / github.com/KDE/kdevelop / fail

Function fail

plugins/subversion/3rdparty/kdevsvncpp/client_diff.cpp:43–56  ·  view source on GitHub ↗

* a quick way to create error messages */

Source from the content-addressed store, hash-verified

41 * a quick way to create error messages
42 */
43 static void
44 fail(apr_pool_t *pool, apr_status_t status, const char *fmt, ...)
45 {
46 va_list ap;
47 char *msg;
48 svn_error_t * error;
49
50 va_start(ap, fmt);
51 msg = apr_pvsprintf(pool, fmt, ap);
52 va_end(ap);
53
54 error = svn_error_create(status, nullptr, msg);
55 throw ClientException(error);
56 }
57
58 /**
59 * closes and deletes temporary files that diff has been using

Callers 1

diffMethod · 0.70

Calls 1

ClientExceptionClass · 0.85

Tested by

no test coverage detected