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

Function fail

plugins/subversion/svnclient.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include <vcs/vcsannotation.h>
24
25void fail (apr_pool_t *pool, apr_status_t status, const char *fmt, ...)
26{
27 va_list ap;
28 char *msg;
29 svn_error_t * error;
30
31 va_start (ap, fmt);
32 msg = apr_pvsprintf (pool, fmt, ap);
33 va_end (ap);
34
35 error = svn_error_create (status, nullptr, msg);
36 throw svn::ClientException (error);
37}
38
39void cleanup( apr_file_t* outfile, const char* outfileName, apr_file_t* errfile, const char* errfileName, const svn::Pool& pool )
40{

Callers 1

diffMethod · 0.70

Calls 1

ClientExceptionClass · 0.85

Tested by

no test coverage detected