| 15 | |
| 16 | namespace das { |
| 17 | static void stackWalkToErr(Context & ctx, const LineInfo & at, bool showArguments, bool showLocalVariables) { |
| 18 | const das::string stack = ctx.getStackWalk(&at, showArguments, showLocalVariables); |
| 19 | ctx.to_err(&at, stack.c_str()); |
| 20 | } |
| 21 | |
| 22 | void Context::throw_fatal_error ( const char * message, const LineInfo & at ) { |
| 23 | exceptionMessage = message ? message : ""; |
no test coverage detected