|
Frobby 0.10.0
|
Go to the source code of this file.
Functions | |
| void | display (const string &msg, const string &prepend="") |
| void | displayNote (const string &msg) |
| void | displayError (const string &msg) |
| void | displayInternalError (const string &errorMsg) |
| void | displayException (const std::exception &exception) |
This file contains functions for printing strings to standard error. They all perform automatic line breaking suitable for printing to a console.
| void display | ( | const string & | msg, |
| const string & | prepend = "" ) |
Display msg to standard error with automatic line breaking. If a automatically broken line begins with whitespace, that whitespace is repeated in front of every line that is generated from breaking it.
| prepend | Print this in front of every line that is printed. |
| void displayError | ( | const string & | msg | ) |
Display msg to standard error in a way that indicates that it is an error.
| void displayException | ( | const std::exception & | exception | ) |
Display the message of exception.
| void displayInternalError | ( | const string & | errorMsg | ) |
Display msg to standard in a way that indicates that it is an internal error.
| void displayNote | ( | const string & | msg | ) |
Display msg to standard error in a way that indicates that this is something that the user should take note of but that is not an error.