Skip to content

Commit 79836bf

Browse files
authored
Update README with reference to GPMueller/trace.
1 parent 5343b6f commit 79836bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Proper, portable exception handling with backtracing in C++11
33

44
[![Build Status](https://api.travis-ci.org/GPMueller/mwe-cpp-exception.svg?branch=master)](https://travis-ci.org/GPMueller/mwe-cpp-exception)
55

6+
**See [GPMueller/trace](https://github.com/GPMueller/trace) for a proper exception backtracing library.**
7+
68
This MWE shows how [`std::nested_exception`](http://en.cppreference.com/w/cpp/error/nested_exception) and [`std::throw_with_nested`](http://en.cppreference.com/w/cpp/error/throw_with_nested) can be applied in order to not lose information while propagating
79
an original `std::exception` upwards through a chain of function calls and create a **backtrace** without any overhead (compare e.g. logging of debug messages).
810
This avoids much of the need for any debugging and provides a way of ensuring that a library does not crash ungracefully.
@@ -34,4 +36,4 @@ cmake --build .
3436
TODO
3537
--------------------------------------------------------------------
3638
- Extend this MWE with example exceptions which do not require the code to terminate.
37-
- Create unit tests with catch, using e.g. `REQUIRE_THROWS`
39+
- Create unit tests with catch, using e.g. `REQUIRE_THROWS`

0 commit comments

Comments
 (0)