|
myshell 2.0.0
|
Error related utilities. More...
Functions | |
| void | error_log () |
| Log the line number and path of the executed script, if any. | |
| void | msh_error (const std::string &msg) |
Print an error message to stderr with a myshell: prefix. | |
Error related utilities.
| void error_log | ( | ) |
Log the line number and path of the executed script, if any.
| void msh_error | ( | const std::string & | msg | ) |
Print an error message to stderr with a myshell: prefix.
Before printing the message, error_log() is called to log the line number and path of the executed script, if any.
| msg | Error message. |