@@ -76,7 +76,7 @@ extern "C" {
7676 }
7777 catch (Error& e) {
7878 stringstream msg_stream;
79- msg_stream << " ERROR -- " << e.path << " :" << e.line << " : " << e.message << endl;
79+ msg_stream << e.path << " :" << e.line << " : error : " << e.message << endl;
8080 string msg (msg_stream.str ());
8181 char * msg_str = (char *) malloc (msg.size () + 1 );
8282 strcpy (msg_str, msg.c_str ());
@@ -86,7 +86,7 @@ extern "C" {
8686 }
8787 catch (bad_alloc& ba) {
8888 stringstream msg_stream;
89- msg_stream << " ERROR -- unable to allocate memory: " << ba.what () << endl;
89+ msg_stream << " Unable to allocate memory: " << ba.what () << endl;
9090 string msg (msg_stream.str ());
9191 char * msg_str = (char *) malloc (msg.size () + 1 );
9292 strcpy (msg_str, msg.c_str ());
@@ -116,7 +116,7 @@ extern "C" {
116116 }
117117 catch (Error& e) {
118118 stringstream msg_stream;
119- msg_stream << " ERROR -- " << e.path << " :" << e.line << " : " << e.message << endl;
119+ msg_stream << e.path << " :" << e.line << " : error : " << e.message << endl;
120120 string msg (msg_stream.str ());
121121 char * msg_str = (char *) malloc (msg.size () + 1 );
122122 strcpy (msg_str, msg.c_str ());
@@ -126,7 +126,7 @@ extern "C" {
126126 }
127127 catch (bad_alloc& ba) {
128128 stringstream msg_stream;
129- msg_stream << " ERROR -- unable to allocate memory: " << ba.what () << endl;
129+ msg_stream << " Unable to allocate memory: " << ba.what () << endl;
130130 string msg (msg_stream.str ());
131131 char * msg_str = (char *) malloc (msg.size () + 1 );
132132 strcpy (msg_str, msg.c_str ());
0 commit comments