MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / exit_error

Function exit_error

Tools/Exceptions.cpp:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "Processor/OnlineOptions.h"
9
10void exit_error(const string& message)
11{
12 if (OnlineOptions::singleton.has_option("throw_exceptions"))
13 throw runtime_error(message);
14
15 cerr << message << endl;
16 exit(1);
17}
18
19IO_Error::IO_Error(const string& m) :
20 ans(m)

Callers 9

get_connection_socketMethod · 0.85
process_clientMethod · 0.85
check_ssl_fileFunction · 0.85
errorFunction · 0.85
set_up_client_socketFunction · 0.85
initMethod · 0.85
setup_namesMethod · 0.85
setup_socketsMethod · 0.85
parseMethod · 0.85

Calls 2

runtime_errorFunction · 0.85
has_optionMethod · 0.80

Tested by

no test coverage detected