Commit Graph

6 Commits

Author SHA1 Message Date
Michael Pfaff 9950d96522
Improved output and API
- New and improved output format
- Adjusted context API to go along with it
- Nicer output for termination
- Better example
- Better handling of backtraces
- Removed a silly field that is never used
- `How::location` now returns the actual location instead of the context
  element
- `Location::caller` is now additionally captured for every call to
  `How::context`
- Added a feature that implements `Clone` for `How` (by deferring to the
  existing `clone_without_backtrace` method)
2023-06-29 00:00:42 -04:00
Michael Pfaff 710eb48e0c Tweak context, add some accessors for context, use match instead of map_err/ok_or_else 2023-02-06 09:09:01 -05:00
Michael Pfaff 2a58f55943
Add caller location to context 2023-01-23 19:06:23 -05:00
Michael Pfaff bbc7df28d8
Refactoring, improve output 2023-01-17 07:29:58 -05:00
Michael Pfaff 41e071bccf
Fix a stupid typo 2022-11-29 13:17:28 -05:00
Michael Pfaff cbb80c9d3f
Add support for Option and move How definition into its own file 2022-11-09 19:48:43 -05:00