#include <evo/impl/sys.h>
Base stream exception for all stream errors, see Exception.
◆ ErrorMsgFunc
typedef const char*(* ErrorMsgFunc) (Error) |
|
protectedinherited |
Pointer type to function returning error message from error code.
◆ StringBase
◆ ExceptionStream() [1/3]
◆ ExceptionStream() [2/3]
◆ ExceptionStream() [3/3]
◆ error()
Get error code.
- Returns
- Error code, 0 if unknown
◆ errormsg_out()
TOut& errormsg_out |
( |
TOut & |
out | ) |
|
|
inlineinherited |
Write error message with errno to output stream/string.
- Must call right after the error, otherwise errno may be overwritten
- Template Parameters
-
TOut | Output stream or string type |
- Parameters
-
- Returns
- This
◆ file()
const char* file |
( |
| ) |
const |
|
inlineinherited |
Get exception file name.
- Returns
- File name
◆ line()
Get exception line number.
- Returns
- Line number
◆ msg()
const char* msg |
( |
| ) |
const |
|
inlineinherited |
Get exception message.
- Returns
- Message
The documentation for this class was generated from the following file: