Commit Graph

7 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 c373ad327e Add missing #[track_caller] 2023-02-06 09:06:19 -05:00
Michael Pfaff bbc7df28d8
Refactoring, improve output 2023-01-17 07:29:58 -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
Michael Pfaff a3058961f8
Seems good 2022-07-21 20:40:44 -04:00
Michael Pfaff fdb14c22ec
Where was I? 2022-07-21 20:39:47 -04:00