db01cce71c
Refactor and redesign API
2024-03-21 00:34:50 -04:00
cab16130f7
Run cargo fmt
2024-03-20 23:15:32 -04:00
fb08be31d4
Small changes
2024-03-20 23:15:16 -04:00
8517408765
Fix a formatting bug
2023-07-03 18:54:46 -04:00
c78b223c67
Adjust formatting
2023-07-03 18:47:56 -04:00
ae7281abac
Adjust formatting
2023-07-03 18:44:28 -04:00
60b4547267
Add a frame
method to Explain
2023-07-02 15:19:30 -04:00
a888990a2a
Adjust formatting
2023-07-02 15:08:30 -04:00
c20ceb332a
Allow passing any IntoContext to push_extra
2023-07-02 14:31:43 -04:00
71385c9e19
Support nested details, add with_backtrace method to IntoContext, impl IntoContext for Detail
2023-07-02 12:07:00 -04:00
184b334a09
Add push_extra method to Context
2023-07-01 21:37:34 -04:00
c56927e7a4
Adjust formatting
2023-07-01 13:14:28 -04:00
0e0eaa8d2e
Add IntoContext and Explain for Arc<dyn Error>
2023-07-01 13:11:42 -04:00
8a055af669
Optional feature to wrap backtrace in an Arc to enable a full Clone impl
2023-07-01 12:58:07 -04:00
c945f1241e
Implement IntoContext for Arc<Error>
2023-07-01 12:45:30 -04:00
db067003d8
Expose Detail
...
- Add some accessor methods on `Context`
- Wrap some variants in private structs to prevent people from depending
on them
- Add some #[inline]
2023-07-01 12:37:14 -04:00
52bcd3c17b
Fixed some formatting bugs
2023-07-01 11:41:39 -04:00
8f1c7d9765
Refactored Context
2023-07-01 11:41:21 -04:00
55054597d1
Move Sized bound to the IntoContext trait and add with_caller method
2023-07-01 11:21:37 -04:00
457328945c
Rename ContextElem to Detail
2023-06-29 11:55:21 -04:00
639e5835e4
Add an Error element
2023-06-29 11:48:51 -04:00
f416f66d5c
Move Backtrace to a context element, capture along with Location
2023-06-29 02:14:03 -04:00
ac3e26950a
Forgot to remove these features
2023-06-29 01:54:04 -04:00
6ad97e1d76
Bump version
2023-06-29 01:51:56 -04:00
efa1c3fa37
Refactoring, update docs, API adjustments
2023-06-29 01:51:08 -04:00
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
35bb62320f
Removed stable feature(backtrace)
2023-03-30 09:21:07 -04:00
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
c373ad327e
Add missing #[track_caller]
2023-02-06 09:06:19 -05:00
60df0085b8
Add some #[track_caller]
2023-01-26 20:51:33 -05:00
2a58f55943
Add caller location to context
2023-01-23 19:06:23 -05:00
bbc7df28d8
Refactoring, improve output
2023-01-17 07:29:58 -05:00
41e071bccf
Fix a stupid typo
2022-11-29 13:17:28 -05:00
391f7de38d
Fix ambiguous use
2022-11-09 19:49:45 -05:00
cbb80c9d3f
Add support for Option and move How definition into its own file
2022-11-09 19:48:43 -05:00
d3bd38ba13
Some changes
2022-09-06 07:47:11 -04:00
a3058961f8
Seems good
2022-07-21 20:40:44 -04:00
fdb14c22ec
Where was I?
2022-07-21 20:39:47 -04:00